mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-24 08:58:06 +00:00
fix(ui): hide error if API throws un-authorized (#7244)
This commit is contained in:
parent
364067ac84
commit
c0b42b6825
@ -422,7 +422,6 @@ export const AuthProvider = ({
|
|||||||
const { status } = error.response;
|
const { status } = error.response;
|
||||||
if (status === ClientErrors.UNAUTHORIZED) {
|
if (status === ClientErrors.UNAUTHORIZED) {
|
||||||
storeRedirectPath();
|
storeRedirectPath();
|
||||||
showErrorToast(error);
|
|
||||||
resetUserDetails(true);
|
resetUserDetails(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user