[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
|
||||
:contacts/contacts {}
|
||||
:network-status network-status
|
||||
:peers-count peers-count
|
||||
:peers-summary peers-summary
|
||||
:peers-count (or peers-count 0)
|
||||
:peers-summary (or peers-summary [])
|
||||
:status-module-initialized? (or platform/ios? js/goog.DEBUG status-module-initialized?)
|
||||
:status-node-started? status-node-started?
|
||||
:network network
|
||||
|
|
Loading…
Reference in New Issue