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 joined
|
(when community
|
||||||
(rf/dispatch [:activity-center.notifications/dismiss-community-overview id]))
|
(when joined
|
||||||
[community-scroll-page community pending?]))
|
(rf/dispatch [:activity-center.notifications/dismiss-community-overview id]))
|
||||||
|
[community-scroll-page community pending?])))
|
||||||
|
|
||||||
(defn overview
|
(defn overview
|
||||||
[id]
|
[id]
|
||||||
|
|
Loading…
Reference in New Issue