forked from MapComplete/MapComplete
Fix changeset comment for move reason
This commit is contained in:
parent
c99e15eed9
commit
a6abbe45b8
1 changed files with 1 additions and 2 deletions
|
@ -17,7 +17,6 @@ import ChangeLocationAction from "../../Logic/Osm/Actions/ChangeLocationAction";
|
|||
import LayoutConfig from "../../Models/ThemeConfig/LayoutConfig";
|
||||
import MoveConfig from "../../Models/ThemeConfig/MoveConfig";
|
||||
import {ElementStorage} from "../../Logic/ElementStorage";
|
||||
import ValidatedTextField from "../Input/ValidatedTextField";
|
||||
import AvailableBaseLayers from "../../Logic/Actors/AvailableBaseLayers";
|
||||
|
||||
interface MoveReason {
|
||||
|
@ -152,7 +151,7 @@ export default class MoveWizard extends Toggle {
|
|||
confirmMove.onClick(() => {
|
||||
const loc = locationInput.GetValue().data
|
||||
state.changes.applyAction(new ChangeLocationAction(featureToMove.properties.id, [loc.lon, loc.lat], {
|
||||
reason: Translations.WT(reason.text).textFor("en"),
|
||||
reason: reason.changesetCommentValue,
|
||||
theme: state.layoutToUse.id
|
||||
}))
|
||||
featureToMove.properties._lat = loc.lat
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue