Store only once record removed or deleted
issue10236 review351891002
This commit is contained in:
1 parent
0d65678df6
commit
b6af2a0830
1 file changed
+6
-2
+6
-2
@@ -200,13 +200,17 @@
|
||||
this.record_deleted.splice(
|
||||
this.record_deleted.indexOf(record), 1);
|
||||
}
|
||||
this.record_removed.push(record);
|
||||
if (!~this.record_removed.indexOf(record)) {
|
||||
this.record_removed.push(record);
|
||||
}
|
||||
} else {
|
||||
if (~this.record_removed.indexOf(record)) {
|
||||
this.record_removed.splice(
|
||||
this.record_removed.indexOf(record), 1);
|
||||
}
|
||||
this.record_deleted.push(record);
|
||||
if (!~this.record_deleted.indexOf(record)) {
|
||||
this.record_deleted.push(record);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (record.group.parent) {
|
||||
|
||||
Reference in new issue
Block a user