Tiny Fixes in Workingtimes Evaluate

This commit is contained in:
2025-02-03 20:17:02 +01:00
parent d3d7799812
commit 2e45ff3561

View File

@@ -206,7 +206,8 @@ const showDocument = ref(false)
const uri = ref("")
const generateDocument = async () => {
const ownTenant = profileStore.ownTenant
const path = ownTenant.letterheadConfig["workingTimesEvaluation"]
const path = (await supabase.from("letterheads").select().eq("tenant",profileStore.currentTenant)).data[0].path
console.log(path)
const {data,error} = await supabase.storage.from("files").download(path)