mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-29 15:03:09 +02:00
Parse the string that comes from the backend
This commit is contained in:
parent
7b6b08fd26
commit
882e4d6b45
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ Rectangle {
|
||||||
// OR the ID of an "updated" item, we're updating.
|
// OR the ID of an "updated" item, we're updating.
|
||||||
if (root.itemId === result.data.updates[i].item_id ||
|
if (root.itemId === result.data.updates[i].item_id ||
|
||||||
root.itemId === result.data.updates[i].updated_item_id) {
|
root.itemId === result.data.updates[i].updated_item_id) {
|
||||||
if (root.itemEdition !== -1 && root.itemEdition !== result.data.updates[i].edition_number) {
|
if (root.itemEdition !== -1 && root.itemEdition !== parseInt(result.data.updates[i].edition_number)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
root.isUpdating = true;
|
root.isUpdating = true;
|
||||||
|
|
Loading…
Reference in a new issue