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

fix: we shouldn’t use $-prefixed variables in script-setup components

parent 088be4ba
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@
v-if="isSuperUser"
v-b-popover.hover.top="t('showCreator.title')"
variant="primary"
@click="$refs.addShowModal.openModal()"
@click="addShowModal.openModal()"
>
<template v-if="selectedShow">+</template>
<template v-else>{{ t('showCreator.title') }}</template>
......@@ -44,7 +44,7 @@
<script setup>
import { sort } from 'fast-sort'
import { useStore } from 'vuex'
import { computed } from 'vue'
import { computed, ref } from 'vue'
// Move this into main.js if v-select is used a second time.
import VSelect from 'vue-select'
......@@ -58,6 +58,8 @@ const store = useStore()
const { t } = useI18n()
const isSuperUser = useIsSuperUser()
const selectedShow = useSelectedShow()
const addShowModal = ref()
const loaded = computed(() => ({
shows: store.state.shows.loaded.shows,
types: store.state.shows.loaded.types,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment