diff --git a/src/Logic/Osm/Actions/CreateNewNodeAction.ts b/src/Logic/Osm/Actions/CreateNewNodeAction.ts index b9bbbe3e6..2f7c07e29 100644 --- a/src/Logic/Osm/Actions/CreateNewNodeAction.ts +++ b/src/Logic/Osm/Actions/CreateNewNodeAction.ts @@ -20,7 +20,7 @@ export default class CreateNewNodeAction extends OsmCreateAction { private readonly _snapOnto: OsmWay private readonly _reusePointDistance: number private readonly meta: { - changeType: "create" | "import" + changeType: "create" | "import" | "copy" theme: string specialMotivation?: string } @@ -35,7 +35,7 @@ export default class CreateNewNodeAction extends OsmCreateAction { snapOnto?: OsmWay reusePointWithinMeters?: number theme: string - changeType: "create" | "import" | null + changeType: "create" | "import" | "copy" | null specialMotivation?: string } ) { diff --git a/src/UI/Popup/AddNewPoint/CreateCopy.svelte b/src/UI/Popup/AddNewPoint/CreateCopy.svelte index 7ba0a4a05..117819521 100644 --- a/src/UI/Popup/AddNewPoint/CreateCopy.svelte +++ b/src/UI/Popup/AddNewPoint/CreateCopy.svelte @@ -42,6 +42,7 @@ let showPopup: UIEventSource = new UIEventSource(false) const showTags = state.userRelatedState.showTagsB + const loggedIn = state.userRelatedState.osmConnection.isLoggedIn let creatingCopy = new UIEventSource(false) const t = Translations.t.copy @@ -150,10 +151,11 @@ -
- - -
+{#if $loggedIn} +
+ +
+{/if}