Less confusion

This commit is contained in:
ibrkhalil 2024-04-16 17:35:14 +02:00
parent 925bf82621
commit 7a3652c8eb
No known key found for this signature in database
GPG Key ID: 4DC01DE789FD7BD3
1 changed files with 1 additions and 1 deletions

View File

@ -433,5 +433,5 @@
(fn [[_ community-id]]
[(re-frame/subscribe [:communities/community community-id])])
(fn [{:keys [token-permissions joined] :as community}]
(or (and joined (seq community))
(or joined
(and (not joined) (empty? token-permissions) (seq community)))))