forked from DGNum/gestioCOF
fix(kfet): fix js error when cancelling already canceled operation
This commit is contained in:
parent
dfa5b4bf69
commit
aad3775222
1 changed files with 1 additions and 1 deletions
|
@ -248,7 +248,7 @@ function KHistory(options = {}) {
|
||||||
that.cancel_entry(entry);
|
that.cancel_entry(entry);
|
||||||
}
|
}
|
||||||
if (type == "operation") {
|
if (type == "operation") {
|
||||||
for (let opegroup of data["opegroups_to_update"]) {
|
for (let opegroup of (data["opegroups_to_update"] || [])) {
|
||||||
that.update_opegroup(opegroup)
|
that.update_opegroup(opegroup)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue