forked from MapComplete/MapComplete
Small fixes for the GRB theme and value substitution
This commit is contained in:
parent
328dc5577c
commit
71f4d4091e
17 changed files with 798 additions and 74 deletions
|
@ -74,9 +74,7 @@ export class Changes {
|
|||
const eventSource = State.state.allElements.getElement(elementId);
|
||||
|
||||
eventSource.data[key] = value;
|
||||
if(value === undefined || value === ""){
|
||||
delete eventSource.data[key];
|
||||
}
|
||||
|
||||
eventSource.ping();
|
||||
// We get the id from the event source, as that ID might be rewritten
|
||||
this._pendingChanges.push({elementId: eventSource.data.id, key: key, value: value});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue