We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6c56a9 commit 4b7d46fCopy full SHA for 4b7d46f
1 file changed
frontend/src/modules/editor/contentObject/views/editorPageComponentListView.js
@@ -78,13 +78,13 @@ define(function(require) {
78
79
renderComponentList: function() {
80
Origin.trigger('editorComponentListView:removeSubviews');
81
- // _.each(this.collection, function(componentType) {
82
83
this.collection.each(function(componentType) {
84
var properties = componentType.get('properties');
+ var availablePositions = _.clone(this.availablePositions);
85
+
86
if (properties && properties.hasOwnProperty('_supportedLayout')) {
87
var supportedLayout = properties._supportedLayout.enum;
- var availablePositions = _.clone(this.availablePositions);
88
89
// Prune the available positions
90
if (_.indexOf(supportedLayout, 'half-width') == -1) {
0 commit comments