Add message to tagManegement

This commit is contained in:
Christoph Kluge 2024-09-10 09:45:47 +02:00
parent c0b1e97602
commit a2951d1f05

View File

@ -354,6 +354,12 @@
<i>No unused tags matching.</i> <i>No unused tags matching.</i>
</ListGroupItem> </ListGroupItem>
</ListGroup> </ListGroup>
{:else}
<ListGroup class="mb-3">
<ListGroupItem disabled>
<i>No unused tags available.</i>
</ListGroupItem>
</ListGroup>
{/if} {/if}
{#if newTagType && newTagName && isNewTag(newTagType, newTagName)} {#if newTagType && newTagName && isNewTag(newTagType, newTagName)}
@ -381,8 +387,14 @@
</Col> </Col>
{/if} {/if}
</Row> </Row>
{:else if allTagsFiltered.length == 0} {:else if filterTerm !== "" && allTagsFiltered.length == 0}
<Alert color="info">Search Term is not a valid Tag (<code>type: name</code>)</Alert> <Alert color="info">
Search Term is not a valid Tag (<code>type: name</code>)
</Alert>
{:else if filterTerm == "" && unusedTagsFiltered.length == 0}
<Alert color="info">
Type "<code>type: name</code>" into the search field to create a new tag.
</Alert>
{/if} {/if}
{/if} {/if}