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: { computed: {
emptyText() { 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() { isActive() {
return !isEmpty(this.value) return !isEmpty(this.value)
}, },
}, },
methods: { methods: {
isSearchable(){ isSearchable() {
return ( return (
!isEmpty(this.value) && !isEmpty(this.value) &&
typeof this.value === 'string' && typeof this.value === 'string' &&