preparing to delete locations
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -102,7 +102,7 @@
|
||||
{:then data}
|
||||
<div class="items">
|
||||
{#if location}
|
||||
<h3>{location.name}</h3>
|
||||
<h3>{location.name} <button class="symbol" title={t('delete_object',{object:t('location')})} onclick={e => deleteLocation(location)}></button></h3>
|
||||
{/if}
|
||||
<ItemList items={data?.items.sort((a,b) => a.code.localeCompare(b.code))} bind:selected={item} drag_start={item => draggedItem = item} />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user