diff --git a/components/DocumentDisplayModal.vue b/components/DocumentDisplayModal.vue index d4edf41..bc333de 100644 --- a/components/DocumentDisplayModal.vue +++ b/components/DocumentDisplayModal.vue @@ -22,6 +22,9 @@ const props = defineProps({ const emit = defineEmits(["updateNeeded"]) const folders = ref([]) + +const filetypes = ref([]) + const setup = async () => { const {data} = await supabase.from("folders").select().eq("tenant",useProfileStore().currentTenant) @@ -50,6 +53,8 @@ const setup = async () => { }) } }) + + filetypes.value = await useSupabaseSelect("filetags") } setup() @@ -169,6 +174,8 @@ const moveFile = async () => { modal.close() } + +