Added TextTemplates Page and Function
This commit is contained in:
@@ -120,6 +120,10 @@ export const useDataStore = defineStore('data', () => {
|
||||
workingtimes: {
|
||||
label: "Anwesenheiten",
|
||||
labelSingle: "Anwesenheit"
|
||||
},
|
||||
texttemplates: {
|
||||
label: "Textvorlagen",
|
||||
labelSingle: "Textvorlage"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1004,7 +1008,7 @@ export const useDataStore = defineStore('data', () => {
|
||||
}
|
||||
|
||||
async function fetchTextTemplates() {
|
||||
texttemplates.value = (await supabase.from("textTemplates").select().eq('tenant', currentTenant.value)).data
|
||||
texttemplates.value = (await supabase.from("texttemplates").select().eq('tenant', currentTenant.value)).data
|
||||
}
|
||||
|
||||
async function fetchServices() {
|
||||
|
||||
Reference in New Issue
Block a user