Fix counter in Group tabs

environments/review-develop-3zknud/deployments/3252
Chewbacca 2023-04-24 11:46:31 -04:00
rodzic b6a5c56859
commit 50a005da54
1 zmienionych plików z 1 dodań i 7 usunięć

Wyświetl plik

@ -76,12 +76,6 @@ const GroupPage: React.FC<IGroupPage> = ({ params, children }) => {
const isBlocked = group?.relationship?.blocked_by;
const isPrivate = group?.locked;
// if ((group as any) === false) {
// return (
// <MissingIndicator />
// );
// }
const tabItems = useMemo(() => {
const items = [];
items.push({
@ -111,7 +105,7 @@ const GroupPage: React.FC<IGroupPage> = ({ params, children }) => {
});
return items;
}, [features.groupsTags]);
}, [features.groupsTags, pending.length]);
const renderChildren = () => {
if (!isMember && isPrivate) {