Removed Name from documents
Added Customers Reload
This commit is contained in:
@@ -72,6 +72,7 @@ definePageMeta({
|
|||||||
const supabase = useSupabaseClient()
|
const supabase = useSupabaseClient()
|
||||||
|
|
||||||
const {customers } = storeToRefs(useDataStore())
|
const {customers } = storeToRefs(useDataStore())
|
||||||
|
const {fetchCustomers} = useDataStore()
|
||||||
|
|
||||||
|
|
||||||
let showCreateCustomer = ref(false)
|
let showCreateCustomer = ref(false)
|
||||||
@@ -99,6 +100,7 @@ const createCustomer = async () => {
|
|||||||
|
|
||||||
customerInfo.value = {}
|
customerInfo.value = {}
|
||||||
showCreateCustomer.value = false
|
showCreateCustomer.value = false
|
||||||
|
fetchCustomers()
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -164,7 +164,6 @@ const {documents} = storeToRefs(useDataStore())
|
|||||||
const tabOpen = ref(0)
|
const tabOpen = ref(0)
|
||||||
const uploadModalOpen = ref(false)
|
const uploadModalOpen = ref(false)
|
||||||
const fileUploadFormData = ref({
|
const fileUploadFormData = ref({
|
||||||
name: "",
|
|
||||||
tags: [],
|
tags: [],
|
||||||
folder: "",
|
folder: "",
|
||||||
object: "",
|
object: "",
|
||||||
|
|||||||
Reference in New Issue
Block a user