clear dashboard on disconnect
This commit is contained in:
parent
7bb6796cc8
commit
4d4dc19510
|
@ -287,6 +287,11 @@ const dashboardHTML = `
|
|||
};
|
||||
$scope.$apply();
|
||||
});
|
||||
evt.onerror = () => {
|
||||
$scope.items = [];
|
||||
$scope.selectedItem = {};
|
||||
$scope.$apply();
|
||||
};
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
|
Loading…
Reference in a new issue