diff --git a/openslides/core/static/js/core/site.js b/openslides/core/static/js/core/site.js index 56642a58b..e9681405c 100644 --- a/openslides/core/static/js/core/site.js +++ b/openslides/core/static/js/core/site.js @@ -743,6 +743,15 @@ angular.module('OpenSlidesApp.core.site', [ } ]) +.filter('excludeSpecialComments', function () { + return function (comments) { + return _.filter(comments, function (comment) { + var specialComment = comment.forState || comment.forRecommendation; + return !specialComment; + }); + }; +}) + // angular formly config options .run([ 'formlyConfig', diff --git a/openslides/core/static/templates/config-form-field.html b/openslides/core/static/templates/config-form-field.html index 0bb9d778f..67a8cc8e4 100644 --- a/openslides/core/static/templates/config-form-field.html +++ b/openslides/core/static/templates/config-form-field.html @@ -20,7 +20,7 @@
-
+
+
@@ -25,9 +25,8 @@
-
-
+
+

{{ field.name }} internal