From bbd286781c1a68403a7c3c7fa6cf76e990d44224 Mon Sep 17 00:00:00 2001 From: Kasper Nilsson Date: Wed, 1 Aug 2018 10:23:23 -0700 Subject: [PATCH] Fix change-star in change view Regression caused by 08ab3aa2 -- the change-star element no longer makes API calls, instead relying on the parent component. Bug: Issue 9511 Change-Id: I26faee7ab9158687ec939c48592f3a263cffc93e --- .../change/gr-change-view/gr-change-view.html | 4 +++- .../change/gr-change-view/gr-change-view.js | 5 +++++ .../change/gr-change-view/gr-change-view_test.html | 13 +++++++++++++ 3 files changed, 21 insertions(+), 1 deletion(-) diff --git a/polygerrit-ui/app/elements/change/gr-change-view/gr-change-view.html b/polygerrit-ui/app/elements/change/gr-change-view/gr-change-view.html index 06a244cf6f..b73fe02dda 100644 --- a/polygerrit-ui/app/elements/change/gr-change-view/gr-change-view.html +++ b/polygerrit-ui/app/elements/change/gr-change-view/gr-change-view.html @@ -362,7 +362,9 @@ limitations under the License.
+ change="{{_change}}" + on-toggle-star="_handleToggleStar" + hidden$="[[!_loggedIn]]">