Fix fast clicking issue on commit changes modal

This commit is contained in:
Carlos Monastyrski
2025-09-04 00:41:11 -03:00
parent 3b235e3668
commit 15545a0886

View File

@@ -106,7 +106,7 @@ const Page = () => {
});
const { permission } = useProjectPermission();
const { mutateAsync: createCommit } = useCreateCommit();
const { mutateAsync: createCommit, isPending: isCommitPending } = useCreateCommit();
const tableRef = useRef<HTMLTableElement>(null);
@@ -997,7 +997,7 @@ const Page = () => {
environment={environment}
workspaceId={workspaceId}
secretPath={secretPath}
isCommitting={false}
isCommitting={isCommitPending}
/>
)}
{noAccessSecretCount > 0 && <SecretNoAccessListView count={noAccessSecretCount} />}