mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 11:27:47 +00:00
Update UpgradeOverlay.tsx
This commit is contained in:
@@ -33,9 +33,7 @@ export const UpgradeOverlay = () => {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
// for non admin this would throw an error
|
return !isUpgradeStatusLoading && isUpgrading ? (
|
||||||
// so no need to render
|
|
||||||
return !isUpgradeStatusLoading && isUpgrading ? ( // isUpgrading
|
|
||||||
<div className="absolute top-0 left-0 z-50 flex h-screen w-screen items-center justify-center bg-bunker-500 bg-opacity-80">
|
<div className="absolute top-0 left-0 z-50 flex h-screen w-screen items-center justify-center bg-bunker-500 bg-opacity-80">
|
||||||
<Spinner size="lg" className="text-primary" />
|
<Spinner size="lg" className="text-primary" />
|
||||||
<div className="ml-4 flex flex-col space-y-1">
|
<div className="ml-4 flex flex-col space-y-1">
|
||||||
|
|||||||
Reference in New Issue
Block a user