Some Changes
This commit is contained in:
@@ -861,7 +861,7 @@ export const useDataStore = defineStore('data', () => {
|
|||||||
//console.log(supabaseData)
|
//console.log(supabaseData)
|
||||||
await generateHistoryItems(dataType, supabaseData[0])
|
await generateHistoryItems(dataType, supabaseData[0])
|
||||||
|
|
||||||
if(!["statementallocations", "productcategories"].includes(dataType) ){
|
if(!["statementallocations", "productcategories", "projecttypes"].includes(dataType) ){
|
||||||
await eval( dataType + '.value.push(' + JSON.stringify(...supabaseData) + ')')
|
await eval( dataType + '.value.push(' + JSON.stringify(...supabaseData) + ')')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user