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

Add loading indicator to breadcrumbs (#29)

Also moves the current route data into a level 3 subscription (finally).
This commit is contained in:
Arne Schlüter 2018-10-17 12:58:37 +02:00 committed by GitHub
commit ec4504e475
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 83 additions and 35 deletions

View file

@ -104,9 +104,7 @@
"Provides the complete UI to browse the media library, interact with search
results etc"
[[route-id :as route]]
(let [;; TODO: Move this to a layer 3 subscription ↓
route-events @(subscribe [:routes/events-for-current-route])
content @(subscribe [:api/route-data route-events])]
(let [content @(subscribe [:api/current-route-data])]
[:div
[:section.section
[breadcrumbs route content]