Răsfoiți Sursa

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 ani în urmă
părinte
comite
70bc83636f
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  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