refactor(v2): eliminate legacy frontend invokes and close remaining v2 command gaps
cx
This commit is contained in:
1 parent
54af46fea8
commit
d02b8a9628
16 files changed
+707
-45
No files matched your search
@@ -1258,7 +1258,7 @@
|
||||
async function copyPlaylistToLibraryById(playlistId: number) {
|
||||
try {
|
||||
showToast($t('toast.copyingToLibrary'), 'info');
|
||||
await invoke('subscribe_playlist', { playlistId });
|
||||
await invoke('v2_subscribe_playlist', { playlistId });
|
||||
sidebarRef?.refreshPlaylists();
|
||||
showToast($t('toast.playlistCopied'), 'success');
|
||||
} catch (err) {
|
||||
|
||||
Reference in new issue
Block a user