Fix: don't use null as id (#606)
This commit is contained in:
parent
779a6e4e35
commit
30d00dbd3a
|
@ -161,7 +161,7 @@ function importFromString(jsonString) {
|
||||||
if (sameStyle(byId, item)) {
|
if (sameStyle(byId, item)) {
|
||||||
oldStyle = byId;
|
oldStyle = byId;
|
||||||
} else {
|
} else {
|
||||||
item.id = null;
|
delete item.id;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!oldStyle && byName) {
|
if (!oldStyle && byName) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user