From 9c15aa96a8c9b3fdce5dbda594f98568cdd9e40a Mon Sep 17 00:00:00 2001 From: Urs Wolfer Date: Wed, 27 Jan 2016 23:23:54 +0100 Subject: [PATCH] Fix rebase mistake Block got re-added in Iecf6df041. Initially removed in I87f925ff2. Change-Id: I487d2465b8c412e357795dca6666a8179d2e56f3 --- polygerrit-ui/app/elements/gr-change-list.html | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/polygerrit-ui/app/elements/gr-change-list.html b/polygerrit-ui/app/elements/gr-change-list.html index 7785a4c52a..4cb412fda4 100644 --- a/polygerrit-ui/app/elements/gr-change-list.html +++ b/polygerrit-ui/app/elements/gr-change-list.html @@ -97,7 +97,6 @@ limitations under the License. groups: { type: Array, value: function() { return []; }, - observer: '_groupsChanged', }, groupTitles: { type: Array, @@ -154,21 +153,6 @@ limitations under the License. this.groups = [changes]; }, - _groupsChanged: function(groups) { - for (var i = 0; i < groups.length; i++) { - for (var j = 0; j < groups[i].length; j++) { - var change = groups[i][j]; - if (change.labels && change.labels.hasOwnProperty('Code-Review')) { - // Transform Code-Review to Code_Review so it is a JS identifier - // that can be used in computed properties. This is a hack, but - // it'll all have to change to support dynamic label sets anyway. - change.labels['Code_Review'] = change.labels['Code-Review']; - delete change.labels['Code-Review']; - } - } - } - }, - _groupTitle: function(groupIndex) { if (groupIndex > this.groupTitles.length - 1) { return null; } return this.groupTitles[groupIndex];