mirror of
https://github.com/Fabio286/antares.git
synced 2025-02-09 00:08:55 +01:00
feat(UI): button to clear sidebar search input
This commit is contained in:
parent
04fc1bbee0
commit
1573de5b1f
@ -35,7 +35,12 @@
|
|||||||
type="text"
|
type="text"
|
||||||
:placeholder="$t('message.searchForElements')"
|
:placeholder="$t('message.searchForElements')"
|
||||||
>
|
>
|
||||||
<i class="form-icon mdi mdi-magnify mdi-18px" />
|
<i v-if="!searchTerm" class="form-icon mdi mdi-magnify mdi-18px" />
|
||||||
|
<i
|
||||||
|
v-else
|
||||||
|
class="form-icon c-hand mdi mdi-backspace mdi-18px pr-1"
|
||||||
|
@click="searchTerm = ''"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="workspace-explorebar-body">
|
<div class="workspace-explorebar-body">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user