mirror of
https://github.com/heyarne/airsonic-ui.git
synced 2026-05-06 18:33:38 +02:00
Hide loading spinner when an error occured
This commit is contained in:
parent
662eef58ad
commit
38eea1c8c9
2 changed files with 24 additions and 5 deletions
|
|
@ -22,7 +22,9 @@
|
|||
:credentials verified-credentials}))))
|
||||
(testing "Should be true when routing is not yet set up"
|
||||
(is (true? (is-booting? {:routes/current-route nil
|
||||
:credentials verified-credentials}))))))
|
||||
:credentials verified-credentials}))))
|
||||
(testing "Should be false when an error occurred"
|
||||
(is (false? (is-booting? (:db (events/show-notification {} [:_ :error "Something bad happened"]))))))))
|
||||
|
||||
(deftest cover-images
|
||||
(let [credentials {:server "https://foo.bar"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue