Fix drive refreshing the UI twice at startup

This commit is contained in:
yflory 2020-02-11 14:30:13 +01:00
parent 93abdff397
commit 778be9446d
1 changed files with 1 additions and 1 deletions

View File

@ -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);