forked from MapComplete/MapComplete
Attempt to fix #709
This commit is contained in:
parent
eb625e1c4d
commit
5163cb031e
1 changed files with 2 additions and 0 deletions
|
@ -24,6 +24,7 @@ import {ElementStorage} from "../../Logic/ElementStorage";
|
||||||
import ConfirmLocationOfPoint from "../NewPoint/ConfirmLocationOfPoint";
|
import ConfirmLocationOfPoint from "../NewPoint/ConfirmLocationOfPoint";
|
||||||
import BaseLayer from "../../Models/BaseLayer";
|
import BaseLayer from "../../Models/BaseLayer";
|
||||||
import Loading from "../Base/Loading";
|
import Loading from "../Base/Loading";
|
||||||
|
import Hash from "../../Logic/Web/Hash";
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The SimpleAddUI is a single panel, which can have multiple states:
|
* The SimpleAddUI is a single panel, which can have multiple states:
|
||||||
|
@ -92,6 +93,7 @@ export default class SimpleAddUI extends Toggle {
|
||||||
state.selectedElement.setData(state.allElements.ContainingFeatures.get(
|
state.selectedElement.setData(state.allElements.ContainingFeatures.get(
|
||||||
newElementAction.newElementId
|
newElementAction.newElementId
|
||||||
))
|
))
|
||||||
|
Hash.hash.setData(newElementAction.newElementId)
|
||||||
}
|
}
|
||||||
|
|
||||||
const addUi = new VariableUiElement(
|
const addUi = new VariableUiElement(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue