fix: do not show community view until it's loaded (#18570)
This commit is contained in:
parent
7cc570b6d0
commit
61c0650cec
|
@ -370,9 +370,10 @@
|
||||||
(let [{:keys [id joined]
|
(let [{:keys [id joined]
|
||||||
:as community} (rf/sub [:communities/community id])
|
:as community} (rf/sub [:communities/community id])
|
||||||
pending? (rf/sub [:communities/my-pending-request-to-join id])]
|
pending? (rf/sub [:communities/my-pending-request-to-join id])]
|
||||||
|
(when community
|
||||||
(when joined
|
(when joined
|
||||||
(rf/dispatch [:activity-center.notifications/dismiss-community-overview id]))
|
(rf/dispatch [:activity-center.notifications/dismiss-community-overview id]))
|
||||||
[community-scroll-page community pending?]))
|
[community-scroll-page community pending?])))
|
||||||
|
|
||||||
(defn overview
|
(defn overview
|
||||||
[id]
|
[id]
|
||||||
|
|
Loading…
Reference in New Issue