actually refresh instances on refresh...
This commit is contained in:
parent
6e39cad73d
commit
5c7776abb7
1 changed files with 4 additions and 0 deletions
|
|
@ -182,6 +182,10 @@ export const apiSettings = {
|
||||||
},
|
},
|
||||||
|
|
||||||
async refreshInstances() {
|
async refreshInstances() {
|
||||||
|
this.instancesLoaded = false;
|
||||||
|
this._loadPromise = null;
|
||||||
|
localStorage.removeItem(this.STORAGE_KEY);
|
||||||
|
|
||||||
const instances = await this.loadInstancesFromGitHub();
|
const instances = await this.loadInstancesFromGitHub();
|
||||||
|
|
||||||
const shuffle = (array) => {
|
const shuffle = (array) => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue