Skip to content

Commit 8398fdd

Browse files
disable next button until user selects the installed location of local CRC (#2839)
* disable next button until user selects the installed location of local crc Signed-off-by: msivasubramaniaan <msivasub@redhat.com> * hhandled disable of next button on each step Signed-off-by: msivasubramaniaan <msivasub@redhat.com> --------- Signed-off-by: msivasubramaniaan <msivasub@redhat.com>
1 parent 2beabdb commit 8398fdd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/webview/cluster/app/clusterView.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,8 @@ export default function addClusterView(props: ClusterViewProps) {
209209
};
210210

211211
const handleDisabled = () => {
212-
return (activeStep === 1 && fileName === '')
213-
|| (activeStep === 2 && pullSecretPath === '');
212+
return (activeStep === 0 && fileName === '')
213+
|| (activeStep === 1 && pullSecretPath === '');
214214
};
215215

216216
const handleStopProcess = () => {

0 commit comments

Comments
 (0)