|
|
@@ -41,6 +41,7 @@
|
|
|
:instrument/disabled? (storage/get "instrument-disabled")
|
|
|
;; TODO: how to detect the network reliably?
|
|
|
:network/online? true
|
|
|
+ :network/unstable? false
|
|
|
:indexeddb/support? true
|
|
|
:me nil
|
|
|
:git/current-repo current-graph
|
|
|
@@ -1427,6 +1428,10 @@ Similar to re-frame subscriptions"
|
|
|
[value]
|
|
|
(set-state! :network/online? value))
|
|
|
|
|
|
+(defn set-network-unstable!
|
|
|
+ [value]
|
|
|
+ (set-state! :network/unstable? value))
|
|
|
+
|
|
|
(defn get-plugins-commands
|
|
|
[]
|
|
|
(mapcat seq (flatten (vals (:plugin/installed-slash-commands @state)))))
|