From 23588c02ecda09ffce7bcada0620153eced3669a Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Tue, 25 Apr 2023 04:24:34 +0200 Subject: [PATCH] more lint fixes --- .../components/generic/SearchableInput/SearchableInput.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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' &&