mirror of https://github.com/xwiki-labs/cryptpad
Fix team always offline
This commit is contained in:
parent
90b4b0459e
commit
93f6619a3e
|
@ -1382,7 +1382,6 @@ define([
|
|||
var type = obj.type;
|
||||
var data = obj.data;
|
||||
if (store.modules[type]) {
|
||||
console.error(obj);
|
||||
store.modules[type].execCommand(clientId, data, cb);
|
||||
} else {
|
||||
return void cb({error: type + ' is disabled'});
|
||||
|
|
|
@ -328,6 +328,7 @@ define([
|
|||
}, true);
|
||||
}
|
||||
|
||||
driveAPP.online = !teamData.offline;
|
||||
var drive = DriveUI.create(common, {
|
||||
proxy: proxy,
|
||||
folders: folders,
|
||||
|
|
Loading…
Reference in New Issue