Fix: Add button to go back to the map when showing that a point is deleted, fix #1417
This commit is contained in:
parent
ad952fcaf2
commit
55903d45f9
1 changed files with 3 additions and 0 deletions
|
@ -29,6 +29,9 @@
|
||||||
|
|
||||||
{#if _tags._deleted === "yes"}
|
{#if _tags._deleted === "yes"}
|
||||||
<Tr t={ Translations.t.delete.isDeleted}/>
|
<Tr t={ Translations.t.delete.isDeleted}/>
|
||||||
|
<button class="w-full" on:click={() => state.selectedElement.setData(undefined)}>
|
||||||
|
<Tr t={ Translations.t.general.returnToTheMap}/>
|
||||||
|
</button>
|
||||||
{:else}
|
{:else}
|
||||||
<div class="flex flex-col overflow-y-auto p-1 px-2 gap-y-2">
|
<div class="flex flex-col overflow-y-auto p-1 px-2 gap-y-2">
|
||||||
{#each layer.tagRenderings as config (config.id)}
|
{#each layer.tagRenderings as config (config.id)}
|
||||||
|
|
Loading…
Reference in a new issue