This commit is contained in:
parent
a671c70838
commit
a6d3fc3742
|
@ -73,7 +73,7 @@
|
|||
[]
|
||||
(let [compressed-key (rf/sub [:profile/compressed-key])
|
||||
customization-color (rf/sub [:profile/customization-color])
|
||||
keypairs (rf/sub [:wallet/keypairs-list])
|
||||
keypairs (rf/sub [:wallet/fully-operable-keypairs-list])
|
||||
selected-keypair (rf/sub [:wallet/selected-keypair-uid])
|
||||
profile-picture (rf/sub [:profile/image])
|
||||
[selected-key-uid set-selected-key-uid] (rn/use-state selected-keypair)]
|
||||
|
|
|
@ -207,6 +207,12 @@
|
|||
(fn [{:keys [keypairs]}]
|
||||
(vals keypairs)))
|
||||
|
||||
(rf/reg-sub
|
||||
:wallet/fully-operable-keypairs-list
|
||||
:<- [:wallet/keypairs-list]
|
||||
(fn [keypairs]
|
||||
(filter #(= :fully (:lowest-operability %)) keypairs)))
|
||||
|
||||
(rf/reg-sub
|
||||
:wallet/keypair-names
|
||||
:<- [:wallet/keypairs-list]
|
||||
|
|
Loading…
Reference in New Issue