mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
more lint fixes
This commit is contained in:
parent
e228b42cc4
commit
23588c02ec
@ -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' &&
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user