mirror of
https://github.com/heyarne/airsonic-ui.git
synced 2026-05-07 10:43:39 +02:00
Add an "artist" item in the menu
This commit is contained in:
parent
a71acf218f
commit
66daa89c3a
1 changed files with 3 additions and 2 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue