mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-25 09:13:05 +08:00
Clear isNew on element update [SCI-7025] (#4283)
This commit is contained in:
parent
25b808532d
commit
e4525dddf5
1 changed files with 1 additions and 0 deletions
|
@ -324,6 +324,7 @@
|
|||
},
|
||||
updateElement(element, skipRequest=false) {
|
||||
let index = this.elements.findIndex((e) => e.id === element.id);
|
||||
this.elements[index].isNew = false;
|
||||
|
||||
if (skipRequest) {
|
||||
this.elements[index].attributes.orderable = element.attributes.orderable;
|
||||
|
|
Loading…
Reference in a new issue