forked from MapComplete/MapComplete
Formatting and small cleanups
This commit is contained in:
parent
15a6794e59
commit
4342b38e9d
8 changed files with 40 additions and 37 deletions
|
@ -57,9 +57,8 @@ export default class TagRenderingQuestion extends UIElement {
|
|||
this._inputElement = this.GenerateInputElement()
|
||||
const self = this;
|
||||
const save = () => {
|
||||
console.log("Save clicked!")
|
||||
const selection = self._inputElement.GetValue().data;
|
||||
console.log("Selection is", selection)
|
||||
console.log("Save button clicked, the tags are is", selection)
|
||||
if (selection) {
|
||||
(State.state?.changes ?? new Changes())
|
||||
.addTag(tags.data.id, selection, tags);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue