mirror of https://github.com/xwiki-labs/cryptpad
Fix drive refreshing the UI twice at startup
This commit is contained in:
parent
93abdff397
commit
778be9446d
|
@ -4564,7 +4564,7 @@ define([
|
|||
onClose: cb
|
||||
});
|
||||
};
|
||||
if (typeof (deprecated) === "object" && APP.editable) {
|
||||
if (typeof (deprecated) === "object" && APP.editable && Object.keys(deprecated).length) {
|
||||
Object.keys(deprecated).forEach(function (fId) {
|
||||
var data = deprecated[fId];
|
||||
var sfId = manager.user.userObject.getSFIdFromHref(data.href);
|
||||
|
|
Loading…
Reference in New Issue