HTML Editor go on
This commit is contained in:
@@ -1754,6 +1754,14 @@ export const useGlobalStore = defineStore('GlobalStore', {
|
||||
|
||||
mydata.data = myelem
|
||||
|
||||
// Save in Memory
|
||||
for (let i = 0; i < this.myelems.length; i++) {
|
||||
if (this.myelems[i]._id === myelem._id) {
|
||||
this.myelems[i] = myelem;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return await this.saveTable(mydata)
|
||||
.then((ris) => {
|
||||
if (ris) {
|
||||
|
||||
Reference in New Issue
Block a user