From 19a5d906da6c964e6dd282d18e7c528ffd8613fc Mon Sep 17 00:00:00 2001 From: florianfederspiel Date: Sun, 23 Mar 2025 13:08:56 +0100 Subject: [PATCH] Removed temp Store in Datastore --- stores/data.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stores/data.js b/stores/data.js index 42b06a8..952a4e7 100644 --- a/stores/data.js +++ b/stores/data.js @@ -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`})