File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -46,21 +46,22 @@ export const use_geode_store = defineStore("geode", {
4646 } ,
4747 async do_ping ( ) {
4848 const feedback_store = use_feedback_store ( )
49+ const geode_store = use_geode_store ( )
4950 return new Promise ( ( resolve , reject ) => {
5051 useFetch ( back_schemas . opengeodeweb_back . ping . $id , {
51- baseURL : this . base_url ,
52+ baseURL : geode_store . base_url ,
5253 method : back_schemas . opengeodeweb_back . ping . methods [ 0 ] ,
5354 async onRequestError ( ) {
5455 await feedback_store . $patch ( { server_error : true } )
55- this . is_running = false
56+ geode_store . is_running = false
5657 reject ( )
5758 } ,
5859 async onResponse ( ) {
5960 resolve ( )
6061 } ,
6162 async onResponseError ( ) {
6263 await feedback_store . $patch ( { server_error : true } )
63- this . is_running = false
64+ geode_store . is_running = false
6465 reject ( )
6566 } ,
6667 } )
You can’t perform that action at this time.
0 commit comments