feat: PlaylistAddModal switches to created playlist

This commit is contained in:
Andy Russo
2024-03-16 21:00:50 +05:00
committed by Bnyro
parent 34f52c953e
commit 6311eb73de
2 changed files with 8 additions and 7 deletions

View File

@@ -43,7 +43,7 @@ export default {
this.createPlaylist(this.playlistName).then(response => {
if (response.error) alert(response.error);
else {
this.$emit("created");
this.$emit("created", response.playlistId, this.playlistName);
this.$emit("close");
}
});