mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2026-01-05 03:56:35 +00:00
fix loader issue for deleted user (#21218)
This commit is contained in:
parent
c443597aae
commit
d139ca7863
@ -180,7 +180,7 @@ const UserPage = () => {
|
||||
fetchUserData();
|
||||
}, [username]);
|
||||
|
||||
if (userData?.name !== username || isLoading) {
|
||||
if (isLoading) {
|
||||
return <Loader />;
|
||||
}
|
||||
|
||||
@ -188,6 +188,10 @@ const UserPage = () => {
|
||||
return errorPlaceholder;
|
||||
}
|
||||
|
||||
if (userData?.name !== username) {
|
||||
return <Loader />;
|
||||
}
|
||||
|
||||
return (
|
||||
<PageLayoutV1 pageTitle={t('label.user')}>
|
||||
<Users
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user