Skip to content

Commit 8757780

Browse files
pr comments
1 parent 1d8e60d commit 8757780

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

components/Launcher.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@
2626
2727
watch(
2828
() => infra_store.is_captcha_validated,
29-
async (value, oldValue) => {
29+
(value, oldValue) => {
3030
if (value && !oldValue && process.client) {
31-
await infra_store.create_backend()
31+
infra_store.create_backend()
3232
}
3333
},
3434
)
3535
36-
onMounted(async () => {
36+
onMounted(() => {
3737
if (infra_store.is_captcha_validated) {
38-
await infra_store.create_backend()
38+
infra_store.create_backend()
3939
}
4040
})
4141
</script>

components/RemoteRenderingView.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
)
9898
9999
function connect() {
100-
if (!viewer_store.status !== Status.CONNECTED) {
100+
if (viewer_store.status !== Status.CONNECTED) {
101101
return
102102
}
103103
const session = viewer_store.client.value.getConnection().getSession()

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.value) {
4+
if (microservices_connected) {
55
function_to_run()
66
} else {
77
watch(microservices_connected, (value) => {

stores/infra.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export const use_infra_store = defineStore("infra", {
66
state: () => ({
77
ID: useStorage("ID", ""),
88
is_captcha_validated:
9-
is_cloud() || process.env.NODE_ENV === "development" ? true : false,
9+
!this.is_cloud() || process.env.NODE_ENV === "development",
1010
status: Status.NOT_CREATED,
1111
}),
1212
getters: {

0 commit comments

Comments
 (0)