Remove usages of angular.forEach in property editors

This commit is contained in:
Kenn Jacobsen
2020-07-31 14:08:20 +02:00
committed by Sebastiaan Janssen
parent e69f19381f
commit a737b0eacf
4 changed files with 11 additions and 14 deletions

View File

@@ -498,8 +498,7 @@
if (tab) {
scaffold.variants[0].tabs.push(tab);
angular.forEach(tab.properties,
function (property) {
tab.properties.forEach(function (property) {
if (_.find(notSupported, function (x) { return x === property.editor; })) {
property.notSupported = true;
// TODO: Not supported message to be replaced with 'content_nestedContentEditorNotSupported' dictionary key. Currently not possible due to async/timing quirk.