Skip to content

Commit 73c0845

Browse files
authored
Merge pull request #905 from Support-pl/dev
Dev
2 parents f274d84 + 322dbb6 commit 73c0845

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/components/cloud/create/button.vue

+5-3
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,11 @@ const createButtonOptions = computed(() => {
128128
options.os.name === "";
129129
} else {
130130
result.disabled =
131-
((cloudStore.authData.password.length === 0 ||
132-
!cloudStore.authData.password_valid) &&
133-
authStore.isLogged) ||
131+
(props.skipPasswordCheck
132+
? false
133+
: (cloudStore.authData.password.length === 0 ||
134+
!cloudStore.authData.password_valid) &&
135+
authStore.isLogged) ||
134136
cloudStore.authData.vmName === "" ||
135137
(!cloudStore.namespaceId && authStore.isLogged) ||
136138
options.os.name === "";

src/stores/cloud.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export const useCloudStore = defineStore("cloud", () => {
3535
username: "",
3636
hostname: "",
3737
password: "",
38-
password_valid: "",
38+
password_valid: true,
3939
sshKey: undefined,
4040
score: null,
4141
});

0 commit comments

Comments
 (0)