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:
parent
0409da3ca3
commit
1ebecc91d9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user