fix(playlists)!: show newly created playlist instantly
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
const aIndex = e.dataTransfer?.getData('text/plain')!;
|
||||
const bIndex = (e.currentTarget as HTMLElement).getAttribute('data-playlist-index')!;
|
||||
|
||||
library.swapPlaylistTracks(playlist.id, Number(aIndex), Number(bIndex));
|
||||
library.swapPlaylistTracks(playlist.id, Number(aIndex), Number(bIndex), fetch);
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user