1
0
Fork 0
mirror of https://github.com/heyarne/airsonic-ui.git synced 2026-05-07 02:33:39 +02:00

Add an "artist" item in the menu

This commit is contained in:
jvoisin 2019-04-11 09:37:07 +02:00
commit 66daa89c3a

View file

@ -54,8 +54,9 @@
(defn tab-items [[current-id current-params :as current-route]]
(->>
[[[::routes/library {:kind "recent"}] "Recently played"]
[[::routes/library {:kind "newest"}] "Newest additions"]
[[::routes/library {:kind "starred"}] "Starred"]]
[[::routes/library {:kind "newest"}] "Recently added"]
[[::routes/library {:kind "starred"}] "Starred"]
[[::routes/artist.overview {:kind "artists"}] "Artists"]]
(map (fn [[[id params :as route] label]]
(cond-> {:href (apply routes/url-for route)
:label label}