Skip to content
Snippets Groups Projects
Commit e6b621a6 authored by Richard Blechinger's avatar Richard Blechinger
Browse files

Mark currently selected show as active in dropdown

parent 05409b63
Branches
Tags
No related merge requests found
......@@ -52,6 +52,7 @@
<b-dropdown-item
v-for="(show, index) in shows"
:key="show.id"
:active="show.id === selectedShow.id"
@click="switchShow(index)"
>
{{ show.name }}
......@@ -126,6 +127,8 @@ export default {
if (!this.loaded.fundingcategories) {
this.$store.dispatch('shows/fetchMetaArray', {property: 'fundingcategories', onlyActive: true})
}
console.log(this.selectedShow)
},
methods: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment