add play next
This commit is contained in:
@@ -3,6 +3,9 @@
|
||||
<template #button-content>
|
||||
<Icon icon="three-dots-vertical"/>
|
||||
</template>
|
||||
<b-dropdown-item-button @click="playNext()">
|
||||
Play next
|
||||
</b-dropdown-item-button>
|
||||
<b-dropdown-item-button @click="toggleStarred()">
|
||||
{{ starred ? 'Unstar' : 'Star' }}
|
||||
</b-dropdown-item-button>
|
||||
@@ -30,6 +33,9 @@
|
||||
}
|
||||
this.starred = !this.starred;
|
||||
},
|
||||
playNext() {
|
||||
return this.$store.dispatch("player/playNext", this.track);
|
||||
},
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user