1👍
If the filterModal
is always boolean
(or it has truthy or falsy values) you can simply use v-if
to conditionally render the component base on the value of filterModal
.
<q-dialog
v-model="filterModal"
position="left"
full-height
maximized
>
<object-mobile-filter v-if="filterModal" />
</q-dialog>
Source:stackexchange.com