1
0
mirror of https://github.com/TeamPiped/Piped.git synced 2024-12-13 22:00:28 +05:30

Check if playlist has name when creating a new playlist.

This commit is contained in:
Kavin 2022-04-07 19:19:40 +01:00
parent 6a05acf939
commit b68b9e2c1e
No known key found for this signature in database
GPG Key ID: 49451E4482CC5BCD

View File

@ -64,6 +64,7 @@ export default {
},
createPlaylist() {
const name = prompt(this.$t("actions.create_playlist"));
if (name)
this.fetchJson(this.apiUrl() + "/user/playlists/create", null, {
method: "POST",
body: JSON.stringify({