From 817478f3cf357fc09778d9dc3cf67a667e21f042 Mon Sep 17 00:00:00 2001
From: Leonardo Bishop <me@leonardobishop.com>
Date: Thu, 15 Feb 2024 23:11:15 +0000
Subject: Fix broken ItemStackPicker

---
 src/components/Control/ItemStackPicker.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/components/Control/ItemStackPicker.vue')

diff --git a/src/components/Control/ItemStackPicker.vue b/src/components/Control/ItemStackPicker.vue
index 613adfe..d16090e 100644
--- a/src/components/Control/ItemStackPicker.vue
+++ b/src/components/Control/ItemStackPicker.vue
@@ -24,7 +24,7 @@ const isQuestItem = computed(() => {
   return value.value?.['quest-item'] !== undefined;
 });
 const isItemStack = computed(() => {
-  if (typeof value.value !== 'object') {
+  if (typeof value.value !== 'object' || value.value === null) {
     return false;
   }
 
-- 
cgit v1.2.3-70-g09d2

