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

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

Loading…
Cancel
Save