feat: add more and unify stats

Release-As: 0.16.1
This commit is contained in:
sentriz
2023-10-28 21:22:08 +01:00
committed by Senan Kelly
parent c1a34dc021
commit 2fdc1f41a2
5 changed files with 32 additions and 17 deletions

View File

@@ -274,10 +274,9 @@ type templateData struct {
Flashes []interface{}
User *db.User
Version string
// home
AlbumCount int
ArtistCount int
TrackCount int
Stats db.Stats
RequestRoot string
RecentFolders []*db.Album
AllUsers []*db.User