From eb2f3e8fc5cf04edf266748766c5212490e4b5f1 Mon Sep 17 00:00:00 2001 From: Jurn Wubben Date: Tue, 3 Feb 2026 02:45:46 +0100 Subject: [PATCH] Added search to new ui --- src/user.ts | 2 +- static/new.html | 264 ++++++++++++++++++++++++++---------------------- 2 files changed, 145 insertions(+), 121 deletions(-) diff --git a/src/user.ts b/src/user.ts index 4242846..4d52667 100644 --- a/src/user.ts +++ b/src/user.ts @@ -76,7 +76,7 @@ export class UserWS { if (songs === undefined) { songs = [] } - this.ws.send(buildCommand("search", {songs, connected: true})) + this.ws.send(buildCommand("search", {songs})) break } diff --git a/static/new.html b/static/new.html index c30807f..c22d0cb 100644 --- a/static/new.html +++ b/static/new.html @@ -42,7 +42,7 @@