From 0df2b4b951c727db1a54c195ff272070bcce96d4 Mon Sep 17 00:00:00 2001 From: lesion Date: Thu, 26 Jan 2023 09:12:18 +0100 Subject: [PATCH] hide search filters when none is allowed --- components/NavSearch.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/NavSearch.vue b/components/NavSearch.vue index 9eaf2973..8dafbb47 100644 --- a/components/NavSearch.vue +++ b/components/NavSearch.vue @@ -8,7 +8,7 @@ v-text-field(hide-details outlined :placeholder='$t("common.search")' @input="v => setFilter(['query', v])" clearable :clear-icon='mdiClose') - template(v-slot:append) + template(v-slot:append v-if='settings.allow_recurrent_event || settings.allow_multidate_event') v-icon(v-text='mdiCog' v-bind='attrs' v-on='on') v-card(outlined :rounded='"0"') v-card-text