From c2fa0045ad1d830614d4ff61ccfbe684c4f7cffe Mon Sep 17 00:00:00 2001 From: Bnyro Date: Tue, 7 Jan 2025 13:19:33 +0100 Subject: [PATCH] fix: fallback to filename as playlist name when importing --- src/components/PlaylistsPage.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/PlaylistsPage.vue b/src/components/PlaylistsPage.vue index d4fcc5b7..7254e97a 100644 --- a/src/components/PlaylistsPage.vue +++ b/src/components/PlaylistsPage.vue @@ -209,7 +209,7 @@ export default { } const playlist = { - name: playlistName ?? new Date().toJSON(), + name: playlistName ?? file.name.replace(".csv", ""), videos: lines .slice(videoListStartIndex, lines.length) .filter(line => line != "")