diff --git a/src/webview/cluster/app/clusterView.tsx b/src/webview/cluster/app/clusterView.tsx index 9e4ee4a56..acb5e5412 100644 --- a/src/webview/cluster/app/clusterView.tsx +++ b/src/webview/cluster/app/clusterView.tsx @@ -209,8 +209,8 @@ export default function addClusterView(props: ClusterViewProps) { }; const handleDisabled = () => { - return (activeStep === 1 && fileName === '') - || (activeStep === 2 && pullSecretPath === ''); + return (activeStep === 0 && fileName === '') + || (activeStep === 1 && pullSecretPath === ''); }; const handleStopProcess = () => {