Fix UI staleness after network issues (#1192)

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen authored and GitHub committed 2020-11-02 14:51:04 +02:00
1 parent 32ca885596
commit c7f77a01f9
5 files changed
+53 -14

No files matched your search

+3
View File
@@ -54,6 +54,9 @@ export class App extends React.Component {
appEventBus.emit({name: "cluster", action: "open", params: {
clusterId: clusterId
}})
window.addEventListener("online", () => {
window.location.reload()
})
}
get startURL() {