[fix] show connecting to peers popup when no peers at startup
previously was only showing up when there was 0 peers after some disconnection but sometimes the app starts and user logs in without being connected to any peer this means the peers-summary is nil peers count is nil
This commit is contained in:
parent
b38dd8f013
commit
ab968dba0e
|
@ -278,8 +278,8 @@
|
||||||
:db (assoc app-db
|
:db (assoc app-db
|
||||||
:contacts/contacts {}
|
:contacts/contacts {}
|
||||||
:network-status network-status
|
:network-status network-status
|
||||||
:peers-count peers-count
|
:peers-count (or peers-count 0)
|
||||||
:peers-summary peers-summary
|
:peers-summary (or peers-summary [])
|
||||||
:status-module-initialized? (or platform/ios? js/goog.DEBUG status-module-initialized?)
|
:status-module-initialized? (or platform/ios? js/goog.DEBUG status-module-initialized?)
|
||||||
:status-node-started? status-node-started?
|
:status-node-started? status-node-started?
|
||||||
:network network
|
:network network
|
||||||
|
|
Loading…
Reference in New Issue