Now going back to the same page
This commit is contained in:
parent
04cd9e1f92
commit
287bcd5135
@ -73,7 +73,18 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
rowClicked(data) {
|
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) {
|
startPlayer(spotify_id) {
|
||||||
this.$store.dispatch('openPlayer', spotify_id);
|
this.$store.dispatch('openPlayer', spotify_id);
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<b-row>
|
<b-row>
|
||||||
<b-col>
|
<b-col>
|
||||||
<h1>
|
<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-icon icon="arrow-left-circle-fill"/>
|
||||||
</b-button>
|
</b-button>
|
||||||
{{ songInfo.type | capitalize }}
|
{{ songInfo.type | capitalize }}
|
||||||
|
Loading…
Reference in New Issue
Block a user