From 41587041531a1f74278f2babd8726cf8770d5168 Mon Sep 17 00:00:00 2001 From: Mohsen Date: Wed, 14 Feb 2024 18:13:51 +0300 Subject: [PATCH] [#18752] fix: eliminate W/O address from account selection --- src/status_im/subs/communities.cljs | 2 +- src/status_im/subs/wallet/wallet.cljs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/status_im/subs/communities.cljs b/src/status_im/subs/communities.cljs index 97140c055945..cb8112dbc892 100644 --- a/src/status_im/subs/communities.cljs +++ b/src/status_im/subs/communities.cljs @@ -370,7 +370,7 @@ (re-frame/reg-sub :communities/selected-permission-accounts (fn [[_ community-id]] - [(re-frame/subscribe [:wallet/accounts-with-customization-color]) + [(re-frame/subscribe [:wallet/accounts-without-watched-accounts]) (re-frame/subscribe [:communities/selected-permission-addresses community-id])]) (fn [[accounts selected-permission-addresses]] (filter #(contains? selected-permission-addresses (:address %)) accounts))) diff --git a/src/status_im/subs/wallet/wallet.cljs b/src/status_im/subs/wallet/wallet.cljs index 53f70d181490..780e5f30eca2 100644 --- a/src/status_im/subs/wallet/wallet.cljs +++ b/src/status_im/subs/wallet/wallet.cljs @@ -185,7 +185,7 @@ (rf/reg-sub :wallet/accounts-without-watched-accounts - :<- [:wallet/accounts] + :<- [:wallet/accounts-with-customization-color] (fn [accounts] (remove #(:watch-only? %) accounts)))