Removed temp Store in Datastore
This commit is contained in:
@@ -2624,9 +2624,9 @@ export const useDataStore = defineStore('data', () => {
|
|||||||
|
|
||||||
await generateHistoryItems(dataType, supabaseData[0])
|
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) + ')')
|
await eval( dataType + '.value.push(' + JSON.stringify(...supabaseData) + ')')
|
||||||
}
|
}*/
|
||||||
|
|
||||||
|
|
||||||
toast.add({title: `${dataTypes[dataType].labelSingle} hinzugefügt`})
|
toast.add({title: `${dataTypes[dataType].labelSingle} hinzugefügt`})
|
||||||
|
|||||||
Reference in New Issue
Block a user