Removed temp Store in Datastore

This commit is contained in:
2025-03-23 13:08:56 +01:00
parent 34e6fb7b64
commit 19a5d906da

View File

@@ -2624,9 +2624,9 @@ export const useDataStore = defineStore('data', () => {
await generateHistoryItems(dataType, supabaseData[0])
if(!["statementallocations","absencerequests", "productcategories", "servicecategories", "projecttypes", "checks", "profiles","services", "inventoryitems", "inventoryitemgroups", "incominginvoices"].includes(dataType) ){
/*if(!["statementallocations","absencerequests", "productcategories", "servicecategories", "projecttypes", "checks", "profiles","services", "inventoryitems", "inventoryitemgroups", "incominginvoices", "costcentres", "ownaccounts"].includes(dataType) ){
await eval( dataType + '.value.push(' + JSON.stringify(...supabaseData) + ')')
}
}*/
toast.add({title: `${dataTypes[dataType].labelSingle} hinzugefügt`})