mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
Check if playlist has name when creating a new playlist.
This commit is contained in:
parent
6a05acf939
commit
b68b9e2c1e
1 changed files with 14 additions and 13 deletions
|
@ -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({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue