Hide filter on history and playlist page when page is empty (#2177)

* Hide filter on history and playlist page when page is empty

* Fix linter warnings

* Fully fix linter warnings
This commit is contained in:
absidue 2022-04-09 21:42:03 +02:00 committed by GitHub
parent 70c0544fe5
commit b3ee24ecf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,7 @@
>
<h3>{{ $t("History.History") }}</h3>
<ft-input
v-show="activeData.length > 0"
ref="searchBar"
:placeholder="$t('History.Search bar placeholder')"
:show-clear-text-button="true"

View File

@ -17,6 +17,7 @@
/>
</h3>
<ft-input
v-show="activeData.length > 0"
ref="searchBar"
:placeholder="$t('User Playlists.Search bar placeholder')"
:show-clear-text-button="true"