From 5d042cdb3aed1d8d77f658a8e22dbe2175890f54 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sat, 11 May 2024 05:34:32 +0400 Subject: [PATCH] Fixed Last N songs section. --- web/index.templ | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/index.templ b/web/index.templ index d331f3b..8f9d549 100644 --- a/web/index.templ +++ b/web/index.templ @@ -84,7 +84,6 @@ templ Index(curSong *radio.Song, sl []radio.Song, slLen int64, lstnrs *radio.Lis -if sl != nil && len(sl) != 0 {

Last { strconv.FormatInt(slLen, 10) } songs

@@ -96,6 +95,7 @@ if sl != nil && len(sl) != 0 { + if sl != nil && len(sl) != 0 { for i := 0; i < len(sl); i++ { @@ -107,10 +107,10 @@ if sl != nil && len(sl) != 0 { } + }
{ utils.ToClientTimezone(sl[i].StartAt, r).Format("15:04") }{ sl[i].Artist } - { sl[i].Title }
-}