1
0
Fork 0
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:
Arne Schlüter 2018-04-20 16:21:19 +02:00
commit 0e17354e58
4 changed files with 28 additions and 1 deletions

View file

@ -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