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

Add list of recent albums

This commit is contained in:
Arne Schlüter 2018-04-18 19:19:07 +02:00
commit 8e799f651d
4 changed files with 85 additions and 28 deletions

View file

@ -8,9 +8,17 @@
(fn [db]
(:login db)))
;; ---
;; current hashbang
(re-frame/reg-sub
::current-route
(fn [db]
(:current-route db)))
;; ---
;; TODO: Make this nice and clean
(re-frame/reg-sub
::current-album-list
(fn [db]
(-> db :response :album)))