mirror of
https://github.com/status-im/status-react.git
synced 2025-01-10 19:16:59 +00:00
This commit is contained in:
parent
3b4cbfa4bc
commit
ce3f2b5895
@ -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))))))
|
||||
|
Loading…
x
Reference in New Issue
Block a user