Now going back to the same page
This commit is contained in:
parent
04cd9e1f92
commit
287bcd5135
@ -73,7 +73,18 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
rowClicked(data) {
|
||||
this.$router.push({name: 'Item', params: {id: data.id}, query: {collection: this.$route.params.id}});
|
||||
this.$router.push(
|
||||
{
|
||||
name: 'Item',
|
||||
params: {
|
||||
id: data.id
|
||||
},
|
||||
query: {
|
||||
collection: this.$route.params.id,
|
||||
srcpage: this.$route.query.p
|
||||
}
|
||||
}
|
||||
);
|
||||
},
|
||||
startPlayer(spotify_id) {
|
||||
this.$store.dispatch('openPlayer', spotify_id);
|
||||
|
@ -3,7 +3,7 @@
|
||||
<b-row>
|
||||
<b-col>
|
||||
<h1>
|
||||
<b-button variant="transparent" class="m-1" :to="{name: 'Collection', params: {id: $route.query.collection}}">
|
||||
<b-button variant="transparent" class="m-1" :to="{name: 'Collection', params: {id: $route.query.collection}, query: {p: $route.query.srcpage}}">
|
||||
<b-icon icon="arrow-left-circle-fill"/>
|
||||
</b-button>
|
||||
{{ songInfo.type | capitalize }}
|
||||
|
Loading…
Reference in New Issue
Block a user