|
|
@@ -353,13 +353,13 @@ |
|
|
|
this.getAppLinks(user.locale); |
|
|
|
}, |
|
|
|
beforeDestroy () { |
|
|
|
stopStatusRefresher(this.refresher); |
|
|
|
this.stopStatusRefresher(this.refresher); |
|
|
|
}, |
|
|
|
watch: { |
|
|
|
network (net) { |
|
|
|
if (net) { |
|
|
|
if (net.state === 'running' || net.state === 'stopped' || net.state === 'error_stopping' || net.uuid === 'Not Found') { |
|
|
|
stopStatusRefresher(this.refresher); |
|
|
|
this.stopStatusRefresher(this.refresher); |
|
|
|
} |
|
|
|
if (net.uuid === 'Not Found') { |
|
|
|
this.$router.replace({path: '/bubbles'}); |
|
|
@@ -380,10 +380,10 @@ |
|
|
|
} |
|
|
|
if (latestStats !== null) { |
|
|
|
this.stats = latestStats; |
|
|
|
if (this.stats.percent === 100) stopStatusRefresher(this.refresher); |
|
|
|
if (this.stats.percent === 100) this.stopStatusRefresher(this.refresher); |
|
|
|
} else { |
|
|
|
// status not found for our network |
|
|
|
stopStatusRefresher(this.refresher); |
|
|
|
this.stopStatusRefresher(this.refresher); |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|