Skip to content

Commit 3580f63

Browse files
this in getters
1 parent 2f92c7b commit 3580f63

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

stores/geode.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ export const use_geode_store = defineStore("geode", {
1313
}
1414
return "http"
1515
},
16-
port(state) {
16+
port() {
1717
if (use_infra_store().is_cloud) {
1818
return "443"
1919
}
20-
return state.default_local_port
20+
return this.default_local_port
2121
},
2222
base_url() {
2323
const infra_store = use_infra_store()
@@ -30,8 +30,8 @@ export const use_geode_store = defineStore("geode", {
3030
}
3131
return geode_url
3232
},
33-
is_busy(state) {
34-
return state.request_counter > 0
33+
is_busy() {
34+
return this.request_counter > 0
3535
},
3636
},
3737
actions: {

0 commit comments

Comments
 (0)