feat: basic rendering of queue on share screen

This commit is contained in:
2026-09-07 20:24:23 +02:00
parent 054fda2fb9
commit 6d9853f2c1
8 changed files with 158 additions and 34 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ const routes = ( app: express.Application, foss: boolean, config: Config ) => {
response.send(
JSON.stringify( {
'state': room?.state,
'playlist': lastRequest < room!.playlist!.lastUpdate ? room!.playlist : undefined
'playlist': ( lastRequest < room!.playlist!.lastUpdate || isNaN( lastRequest ) ) ? room!.playlist.playlist : undefined
} )
);
} );