mirror of
https://github.com/janishutz/MusicPlayer.git
synced 2026-09-10 14:25:24 +02:00
feat: basic rendering of queue on share screen
This commit is contained in:
@@ -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
|
||||
} )
|
||||
);
|
||||
} );
|
||||
|
||||
Reference in New Issue
Block a user