Color statuses in change list items
Adds a "flat" mode to gr-change-status that changes the styling of the
chip to emulate a flat Material button, and uses that element in the
change list.
Bug: Issue 8362
Change-Id: I23814d2d6e291821ed3c8a90d75b0d4a1d2b1ac3
diff --git a/polygerrit-ui/app/elements/change-list/gr-change-list-item/gr-change-list-item.js b/polygerrit-ui/app/elements/change-list/gr-change-list-item/gr-change-list-item.js
index b029d46..d594297 100644
--- a/polygerrit-ui/app/elements/change-list/gr-change-list-item/gr-change-list-item.js
+++ b/polygerrit-ui/app/elements/change-list/gr-change-list-item/gr-change-list-item.js
@@ -29,9 +29,9 @@
type: String,
computed: '_computeChangeURL(change)',
},
- status: {
- type: String,
- computed: 'changeStatusString(change)',
+ statuses: {
+ type: Array,
+ computed: 'changeStatuses(change)',
},
showStar: {
type: Boolean,