diff --git a/webapp/components/generic/SearchableInput/SearchableInput.vue b/webapp/components/generic/SearchableInput/SearchableInput.vue index 7bd0e7985..a43c266a3 100644 --- a/webapp/components/generic/SearchableInput/SearchableInput.vue +++ b/webapp/components/generic/SearchableInput/SearchableInput.vue @@ -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' &&