Skip to content

Commit 139eae9

Browse files
fixes
1 parent 8757780 commit 139eae9

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

composables/run_function_when_microservices_connected.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export function run_function_when_microservices_connected(function_to_run) {
22
const infra_store = use_infra_store()
33
const { microservices_connected } = storeToRefs(infra_store)
4-
if (microservices_connected) {
4+
if (microservices_connected.value) {
55
function_to_run()
66
} else {
77
watch(microservices_connected, (value) => {

stores/infra.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ import Status from "@/utils/status.js"
55
export const use_infra_store = defineStore("infra", {
66
state: () => ({
77
ID: useStorage("ID", ""),
8-
is_captcha_validated:
9-
!this.is_cloud() || process.env.NODE_ENV === "development",
8+
is_captcha_validated: false,
109
status: Status.NOT_CREATED,
1110
}),
1211
getters: {

0 commit comments

Comments
 (0)