Added navigate to archive in use entities

added archiving in incoming invoices
This commit is contained in:
2025-09-07 19:45:45 +02:00
parent 8302b00a9c
commit 9a210bceb9
2 changed files with 16 additions and 0 deletions

View File

@@ -128,7 +128,10 @@ export const useEntities = (
method: "PUT",
body: { archived: true }
})
navigateTo(dataType.isStandardEntity ? `/standardEntity/${relation}` : `/${relation}`)
return res
}
return {select, create, update, archive, selectSingle, selectSpecial}