Commit e6b621a6 authored by Richard Blechinger's avatar Richard Blechinger
Browse files

Mark currently selected show as active in dropdown

parent 05409b63
......@@ -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: {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment