only one if instead of two

This commit is contained in:
Moriz Wahl 2023-02-03 20:31:36 +01:00
parent e8d33aba1b
commit 18749f48d8

View File

@ -62,7 +62,10 @@
<!-- filter-menu
TODO: Filter is only visible on index
-->
<ds-flex-item v-if="isLoggedIn" style="flex-grow: 0; flex-basis: auto">
<ds-flex-item
v-if="isLoggedIn && SHOW_CONTENT_FILTER_HEADER_MENU"
style="flex-grow: 0; flex-basis: auto"
>
<client-only>
<filter-menu v-show="showFilterMenuDropdown" />
</client-only>