Fix: Add button to go back to the map when showing that a point is deleted, fix #1417

This commit is contained in:
Pieter Vander Vennet 2023-05-25 10:56:08 +02:00
parent ad952fcaf2
commit 55903d45f9

View file

@ -29,6 +29,9 @@
{#if _tags._deleted === "yes"}
<Tr t={ Translations.t.delete.isDeleted}/>
<button class="w-full" on:click={() => state.selectedElement.setData(undefined)}>
<Tr t={ Translations.t.general.returnToTheMap}/>
</button>
{:else}
<div class="flex flex-col overflow-y-auto p-1 px-2 gap-y-2">
{#each layer.tagRenderings as config (config.id)}