Skip to content

Commit dae4e70

Browse files
committed
WIP
1 parent 69f872b commit dae4e70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/cluster/ClusterForm.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ export default function ClusterForm({
148148
[clusterId],
149149
!window._env_.K8S_CLIENT,
150150
)
151-
151+
152152
const { state, handleOnChange, handleOnSubmit } = useForm(
153153
{
154154
cluster_name: { value: cluster_name, error: '' },
@@ -209,7 +209,7 @@ export default function ClusterForm({
209209
required: false,
210210
},
211211
proxyUrl: {
212-
required: isConnectedViaProxyTemp,
212+
required: KubectlConnectionRadio && isConnectedViaProxyTemp,
213213
validator: { error: 'Please provide a valid URL. URL must start with http:// or https://', regex: /^(http(s)?:\/\/)[\w.-]+(?:\.[\w\.-]+)+[\w\-\._~:/?#[\]@!\$&'\(\)\*\+,;=.]+$/ },
214214
},
215215
sshTunnelUser: {

0 commit comments

Comments
 (0)