Corrected Empty Slot for Tables

This commit is contained in:
2023-12-21 16:17:43 +01:00
parent 1573cb2b1e
commit 3625db30ec
10 changed files with 210 additions and 216 deletions

View File

@@ -133,7 +133,7 @@ export const useDataStore = defineStore('data', {
},
async fetchVendors() {
// @ts-ignore
this.vendors = (await supabase.from("vendors").select()).data
this.vendors = (await supabase.from("vendors").select().order('vendorNumber',{ascending: true})).data
},
async fetchVendorInvoices() {
// @ts-ignore