From 50e41c8ed575c3dfb8e883c4bf5084a5cb06cd9e Mon Sep 17 00:00:00 2001 From: flexsurfer Date: Thu, 8 Aug 2024 12:16:38 +0200 Subject: [PATCH] Token-gated permissions are not displayed on community's homepage #20965 (#20976) --- src/legacy/status_im/data_store/communities.cljs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/legacy/status_im/data_store/communities.cljs b/src/legacy/status_im/data_store/communities.cljs index dc473aa4e1..65086ffa31 100644 --- a/src/legacy/status_im/data_store/communities.cljs +++ b/src/legacy/status_im/data_store/communities.cljs @@ -98,16 +98,16 @@ (update :categories <-categories-rpc) (assoc :role-permissions? (->> community - :tokenPermissions + :token-permissions vals (some role-permission?))) (assoc :membership-permissions? (->> community - :tokenPermissions + :token-permissions vals (some membership-permission?))) (assoc :token-images (reduce (fn [acc {sym :symbol image :image}] (assoc acc sym image)) {} - (:communityTokensMetadata community)))))) + (:tokens-metadata community))))))