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:
parent
10f2e32ecd
commit
ec4504e475
5 changed files with 83 additions and 35 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue