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