mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 22:27:48 +00:00
fix loading animation
This commit is contained in:
@@ -803,8 +803,6 @@ export default function Dashboard() {
|
|||||||
isReadDenied: false
|
isReadDenied: false
|
||||||
};
|
};
|
||||||
|
|
||||||
console.log(124, envSlug, selectedWorkspaceEnv)
|
|
||||||
|
|
||||||
if (selectedWorkspaceEnv) {
|
if (selectedWorkspaceEnv) {
|
||||||
if (snapshotData) setSelectedSnapshotEnv(selectedWorkspaceEnv);
|
if (snapshotData) setSelectedSnapshotEnv(selectedWorkspaceEnv);
|
||||||
else setSelectedEnv(selectedWorkspaceEnv);
|
else setSelectedEnv(selectedWorkspaceEnv);
|
||||||
|
|||||||
@@ -125,7 +125,7 @@ export const DashboardEnvOverview = ({onEnvChange}: {onEnvChange: any;}) => {
|
|||||||
|
|
||||||
if (isSecretsLoading || isEnvListLoading) {
|
if (isSecretsLoading || isEnvListLoading) {
|
||||||
return (
|
return (
|
||||||
<div className="container mx-auto flex h-full w-full items-center justify-center px-8 text-mineshaft-50 dark:[color-scheme:dark]">
|
<div className="container mx-auto flex h-screen w-full items-center justify-center px-8 text-mineshaft-50 dark:[color-scheme:dark]">
|
||||||
<img src="/images/loading/loading.gif" height={70} width={120} alt="loading animation" />
|
<img src="/images/loading/loading.gif" height={70} width={120} alt="loading animation" />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user