Corrected Document Loading

This commit is contained in:
2025-02-05 22:16:06 +01:00
parent 807503c88f
commit 15e480d26d
2 changed files with 1 additions and 3 deletions

View File

@@ -144,7 +144,7 @@ export const useFiles = () => {
} else {
data = (await supabase
.from("files")
.select('*, incominginvoice(*), project(*), vendor(*), customer(*), contract(*), plant(*), createddocument(*, customer(*)), vehicle(*), product(*), profile(*), check(*), inventoryitem(*)')
.select('*, incominginvoice(*), project(*), vendor(*), customer(*), contract(*), plant(*), createddocument(*, customer(*), contact(*)), vehicle(*), product(*), profile(*), check(*), inventoryitem(*)')
.in("id",documentIds)
.not("path","is",null)
.not("archived","is",true)