Many Changes
This commit is contained in:
@@ -854,8 +854,8 @@ export const useDataStore = defineStore('data', () => {
|
||||
}
|
||||
|
||||
const uploadFiles = async (formData, files, upsert) => {
|
||||
console.log(files)
|
||||
console.log(formData)
|
||||
//console.log(files)
|
||||
//console.log(formData)
|
||||
let documentsToInsert = []
|
||||
|
||||
const uploadSingleFile = async (file) => {
|
||||
@@ -886,7 +886,7 @@ export const useDataStore = defineStore('data', () => {
|
||||
documentsToInsert.push({...formData, path: returnPath, tenant: currentTenant.value})
|
||||
}
|
||||
|
||||
console.log(data)
|
||||
//console.log(data)
|
||||
}
|
||||
|
||||
//uploadInProgress.value = true
|
||||
@@ -902,7 +902,7 @@ export const useDataStore = defineStore('data', () => {
|
||||
|
||||
}
|
||||
|
||||
console.log(documentsToInsert)
|
||||
//console.log(documentsToInsert)
|
||||
|
||||
const {data, error} = await supabase
|
||||
.from("documents")
|
||||
@@ -910,7 +910,7 @@ export const useDataStore = defineStore('data', () => {
|
||||
.select()
|
||||
if(error) console.log(error)
|
||||
else {
|
||||
console.log(data)
|
||||
//console.log(data)
|
||||
|
||||
await fetchDocuments()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user