mirror of
https://github.com/heyarne/airsonic-ui.git
synced 2026-05-06 18:33:38 +02:00
Can play a single song :)
This commit is contained in:
parent
9ca116ee72
commit
0e17354e58
4 changed files with 28 additions and 1 deletions
|
|
@ -47,7 +47,10 @@
|
|||
;; single album
|
||||
|
||||
(defn song-item [song]
|
||||
[:div (str (:artist song) " - " (:title song))])
|
||||
[:div (str (:artist song) " - ")
|
||||
[:a
|
||||
{:on-click #(re-frame/dispatch [::events/play-song song])}
|
||||
(:title song)]])
|
||||
|
||||
(defn song-list [songs]
|
||||
[:ul
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue