v1.18.x
Baris Usakli 6 years ago
parent 90f3e1281d
commit 4d5e164fd2

@ -51,7 +51,9 @@ widgets.render = function (uid, options, callback) {
if (err) { if (err) {
return done(err); return done(err);
} }
returnData[location] = renderedWidgets.filter(Boolean); renderedWidgets = renderedWidgets.filter(Boolean);
returnData[location] = renderedWidgets.length ? renderedWidgets : undefined;
done(); done();
}); });
}, function (err) { }, function (err) {

Loading…
Cancel
Save