Skip to content

Commit 1460566

Browse files
committed
Fix playlist settings being shown when not logged in
1 parent 7c9dbb9 commit 1460566

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

web/src/main/playlist.js

+2
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ export function spawnPlaylistNode(id, name, json, nodeId, allowDeletion) {
6363

6464
if (!allowDeletion) {
6565
node.querySelector(".dropdown").remove();
66+
} else if (!isLoggedIn()) {
67+
node.querySelector(".dropdown").classList.add("is-hidden");
6668
}
6769

6870
document.getElementById(nodeId).appendChild(node);

0 commit comments

Comments
 (0)