more lint fixes

This commit is contained in:
Ulf Gebhardt 2023-04-25 04:24:34 +02:00
parent e228b42cc4
commit 23588c02ec
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -84,14 +84,16 @@ export default {
},
computed: {
emptyText() {
return !this.loading && this.isSearchable() ? this.$t('search.failed') : this.$t('search.hint')
return !this.loading && this.isSearchable()
? this.$t('search.failed')
: this.$t('search.hint')
},
isActive() {
return !isEmpty(this.value)
},
},
methods: {
isSearchable(){
isSearchable() {
return (
!isEmpty(this.value) &&
typeof this.value === 'string' &&