Resolve #5850
This commit is contained in:
parent
b940da45af
commit
69802a9f00
4 changed files with 14 additions and 0 deletions
|
|
@ -222,6 +222,10 @@ export default Vue.extend({
|
|||
|
||||
this.$root.stream.on('_disconnected_', () => {
|
||||
if (!this.disconnectedDialog) {
|
||||
if (this.$store.state.device.autoReload) {
|
||||
location.reload();
|
||||
return;
|
||||
}
|
||||
this.disconnectedDialog = this.$root.dialog({
|
||||
type: 'warning',
|
||||
showCancelButton: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue