Fixed: Team & Users page is stuck at loading on trying to join the team (#5816)

This commit is contained in:
Shailesh Parmar 2022-07-01 15:38:56 +05:30 committed by GitHub
parent d3e91a87c1
commit 5667921c67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -33,7 +33,7 @@ const AnchorDropDownList = ({ dropDownList, setIsOpen }: DropDownListProp) => {
aria-labelledby="menu-button"
aria-orientation="vertical"
className="tw-origin-top-right tw-absolute tw-z-9998
tw-right-0 tw-mt-2 tw-w-36 tw-rounded-md tw-shadow-lg
tw-right-0 tw-mt-2 tw-min-w-max tw-rounded-md tw-shadow-lg
tw-bg-white tw-ring-1 tw-ring-black tw-ring-opacity-5 focus:tw-outline-none"
role="menu">
<div className="py-1" role="none">

View File

@ -471,6 +471,7 @@ const TeamsAndUsersPage = () => {
})
.catch((err: AxiosError) => {
showErrorToast(err, jsonData['api-error-messages']['join-team-error']);
setIsRightPannelLoading(false);
});
};
@ -497,6 +498,7 @@ const TeamsAndUsersPage = () => {
err,
jsonData['api-error-messages']['leave-team-error']
);
setIsRightPannelLoading(false);
});
});
};