Sfoglia il codice sorgente

Fix networks refresh delay in Wizard Networks page

While new networks are loaded for new Wizard Options, old networks are
still displayed in the Wizard Networks list.
Sergiu Miclea 7 anni fa
parent
commit
70bc83636f
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      src/stores/NetworkStore.js

+ 1 - 0
src/stores/NetworkStore.js

@@ -66,6 +66,7 @@ class NetworkStore {
       }
     }
 
+    this.networks = []
     return NetworkSource.loadNetworks(endpointId, environment, options).then((networks: Network[]) => {
       this.loading = false
       this.networks = networks