mirror of
https://github.com/heyarne/airsonic-ui.git
synced 2026-05-07 02:33:39 +02:00
Make login-flow more robust and add more tests
This commit is contained in:
parent
84450479ae
commit
852a3193ab
9 changed files with 123 additions and 65 deletions
|
|
@ -68,10 +68,11 @@
|
|||
[bottom-bar]])))
|
||||
|
||||
(defn main-panel []
|
||||
(let [[route params query] @(subscribe [::subs/current-route])
|
||||
notifications @(subscribe [::subs/notifications])]
|
||||
(let [notifications @(subscribe [::subs/notifications])
|
||||
is-booting? @(subscribe [::subs/is-booting?])
|
||||
[route params query] @(subscribe [::subs/current-route])]
|
||||
[:div
|
||||
[notification-list notifications]
|
||||
(if route
|
||||
[app route params query]
|
||||
[:div.app-loading>div.loader])]))
|
||||
(if is-booting?
|
||||
[:div.app-loading>div.loader]
|
||||
[app route params query] )]))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue