1
0

Keep last songs section even if there are no songs. Otherwise a JS code will be broken without further bloating.

This commit is contained in:
Alexander Andreev 2023-03-12 04:05:07 +04:00
parent 0409da3ca3
commit 1ebecc91d9
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -44,7 +44,6 @@ html(lang='en')
p Current/peak listeners: #[span#radio-listeners #{status.Listeners}] / #[span#radio-listener-peak #{status.ListenerPeak}]
p
small Notice: information updates every 45 seconds. But you can #[button(id='btn-update') update] it forcibly.
if len(*songs) > 0
section
h2 Last #{songsNum} songs
table#last-played