From a072c91cc0dc26e417c51f666e8547e08ef40942 Mon Sep 17 00:00:00 2001
From: Leonardo Bishop <me@leonardobishop.com>
Date: Tue, 12 Mar 2024 23:18:23 +0000
Subject: Add import from file system

---
 components/base/ItemStack/ItemStackModal.vue | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'components/base/ItemStack/ItemStackModal.vue')

diff --git a/components/base/ItemStack/ItemStackModal.vue b/components/base/ItemStack/ItemStackModal.vue
index 865c054..2a53926 100644
--- a/components/base/ItemStack/ItemStackModal.vue
+++ b/components/base/ItemStack/ItemStackModal.vue
@@ -47,7 +47,9 @@ const selectedQuestItem = computed({
   },
   set(newValue: string) {
     value.value = {}
-    value.value['quest-item'] = newValue;
+    if (newValue) {
+      value.value['quest-item'] = newValue;
+    }
   }
 })
 const knownQuestItems = computed(() => { return session.session.items.map((item) => item.id) });
@@ -102,6 +104,7 @@ const confirm = () => {
       <div id="material" class="option-group" v-if="selectedType === 'material'">
         <label for="material">Material</label>
         <multiselect v-model="value" :options="materials" :searchable="true" placeholder="Enter material name" />
+        <p>Any items of this material will be matched.</p>
       </div>
 
       <div id="itemstack" class="option-group" v-if="selectedType === 'itemstack'">
-- 
cgit v1.2.3-70-g09d2

