Skip to content
Snippets Groups Projects
Commit 5b680033 authored by Konrad Mohrfeldt's avatar Konrad Mohrfeldt :koala:
Browse files

fix: fix modal resolver to access actual component

parent a556c575
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,7 @@ const { isSuperuser } = useAuthStore()
const { t } = useI18n()
const addShowModal = ref<Modal>()
const resolvedModal = computed(() => (props.modal ?? addShowModal) as unknown as Modal)
const resolvedModal = computed(() => (props.modal ?? addShowModal.value) as Modal)
const loaded = computed(() => ({
types: store.state.shows.loaded.types,
fundingCategories: store.state.shows.loaded.fundingCategories,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment