mirror of
https://github.com/ZHANGTIANYAO1/teamspeak-music-bot.git
synced 2026-10-02 04:52:50 +08:00
feat(web): wire @playNext on all SongCard call sites
Library / Search / History / Playlist now route the third action to store.playNextSong. Home is unchanged (it doesn't use SongCard). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
ad4fb5d3c7
commit
caeef65cdb
4 files changed
+4
No files matched your search
@@ -20,6 +20,7 @@
|
|||||||
:index="i + 1"
|
:index="i + 1"
|
||||||
:active="store.currentSong?.id === song.id"
|
:active="store.currentSong?.id === song.id"
|
||||||
@play="store.playSong(song)"
|
@play="store.playSong(song)"
|
||||||
|
@playNext="store.playNextSong(song)"
|
||||||
@add="store.addSong(song)"
|
@add="store.addSong(song)"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -36,6 +36,7 @@
|
|||||||
:index="i + 1"
|
:index="i + 1"
|
||||||
:active="store.currentSong?.id === song.id"
|
:active="store.currentSong?.id === song.id"
|
||||||
@play="store.play(song.name, song.platform)"
|
@play="store.play(song.name, song.platform)"
|
||||||
|
@playNext="store.playNextSong(song)"
|
||||||
@add="store.addToQueue(song.name, song.platform)"
|
@add="store.addToQueue(song.name, song.platform)"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -32,6 +32,7 @@
|
|||||||
:index="i + 1"
|
:index="i + 1"
|
||||||
:active="store.currentSong?.id === song.id"
|
:active="store.currentSong?.id === song.id"
|
||||||
@play="store.playSong(song)"
|
@play="store.playSong(song)"
|
||||||
|
@playNext="store.playNextSong(song)"
|
||||||
@add="store.addSong(song)"
|
@add="store.addSong(song)"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -28,6 +28,7 @@
|
|||||||
:index="i + 1"
|
:index="i + 1"
|
||||||
:active="store.currentSong?.id === song.id"
|
:active="store.currentSong?.id === song.id"
|
||||||
@play="store.playSong(song)"
|
@play="store.playSong(song)"
|
||||||
|
@playNext="store.playNextSong(song)"
|
||||||
@add="store.addSong(song)"
|
@add="store.addSong(song)"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in new issue
Block a user