Added the almighty back button
This commit is contained in:
@ -2,7 +2,10 @@
|
||||
<b-container>
|
||||
<b-row>
|
||||
<b-col>
|
||||
<h1>Collection: {{ collectionName }}</h1>
|
||||
<h1>
|
||||
<b-button variant="transparent" class="m-1" :to="{name : 'Collections'}"><b-icon icon="arrow-left-circle-fill"/></b-button>
|
||||
Collection: {{ collectionName }}
|
||||
</h1>
|
||||
</b-col>
|
||||
</b-row>
|
||||
<big-chungus-loader text="Fetching track list..." v-if="processing"/>
|
||||
@ -62,7 +65,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
rowClicked(data) {
|
||||
this.$router.push({name: 'Item', params: {id: data.id}});
|
||||
this.$router.push({name: 'Item', params: {id: data.id}, query: {collection: this.$route.params.id}});
|
||||
},
|
||||
startPlayer(spotify_id) {
|
||||
this.$store.dispatch('openPlayer', spotify_id);
|
||||
|
Reference in New Issue
Block a user