Warn users when the drive is offline

This commit is contained in:
yflory
2019-11-07 11:54:58 +01:00
parent 77c6269e0c
commit 5c223f1ae1
4 changed files with 21 additions and 3 deletions

View File

@@ -74,6 +74,12 @@ define([
path: p
});
});
proxy.on('disconnect', function () {
team.offline = true;
});
proxy.on('reconnect', function (info) {
team.offline = false;
});
};
var closeTeam = function (ctx, teamId) {