We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87e3ef7 commit 17c4adaCopy full SHA for 17c4ada
stores/infra.js
@@ -43,21 +43,11 @@ export const use_infra_store = defineStore("infra", {
43
},
44
actions: {
45
async create_connexion() {
46
- const geode_store = use_geode_store()
47
if (this.is_connexion_launched) {
48
return
49
}
50
this.is_connexion_launched = true
51
- if (["", null].includes(this.ID) || typeof this.ID === "undefined") {
52
- return this.create_backend()
53
- } else {
54
- try {
55
- await geode_store.do_ping()
56
- return geode_store.ping_task()
57
- } catch (e) {
58
59
- }
60
+ return this.create_backend()
61
62
async create_backend() {
63
const geode_store = use_geode_store()
0 commit comments