Merge pull request #4473 from Infisical/ENG-3590

Fix fast clicking issue on commit changes modal
This commit is contained in:
carlosmonastyrski
2025-09-05 22:10:04 -03:00
committed by GitHub
@@ -106,7 +106,7 @@ const Page = () => {
}); });
const { permission } = useProjectPermission(); const { permission } = useProjectPermission();
const { mutateAsync: createCommit } = useCreateCommit(); const { mutateAsync: createCommit, isPending: isCommitPending } = useCreateCommit();
const tableRef = useRef<HTMLTableElement>(null); const tableRef = useRef<HTMLTableElement>(null);
@@ -997,7 +997,7 @@ const Page = () => {
environment={environment} environment={environment}
workspaceId={workspaceId} workspaceId={workspaceId}
secretPath={secretPath} secretPath={secretPath}
isCommitting={false} isCommitting={isCommitPending}
/> />
)} )}
{noAccessSecretCount > 0 && <SecretNoAccessListView count={noAccessSecretCount} />} {noAccessSecretCount > 0 && <SecretNoAccessListView count={noAccessSecretCount} />}