diff --git a/polygerrit-ui/app/elements/change-list/gr-change-list-item/gr-change-list-item.html b/polygerrit-ui/app/elements/change-list/gr-change-list-item/gr-change-list-item.html
index 83a4362d86..a2c785337f 100644
--- a/polygerrit-ui/app/elements/change-list/gr-change-list-item/gr-change-list-item.html
+++ b/polygerrit-ui/app/elements/change-list/gr-change-list-item/gr-change-list-item.html
@@ -139,7 +139,9 @@ limitations under the License.
-
+
+
+
|
diff --git a/polygerrit-ui/app/elements/change-list/gr-change-list-item/gr-change-list-item_test.html b/polygerrit-ui/app/elements/change-list/gr-change-list-item/gr-change-list-item_test.html
index cd07b5aab5..243a8ab083 100644
--- a/polygerrit-ui/app/elements/change-list/gr-change-list-item/gr-change-list-item_test.html
+++ b/polygerrit-ui/app/elements/change-list/gr-change-list-item/gr-change-list-item_test.html
@@ -186,5 +186,16 @@ limitations under the License.
const elementClass = '.bad';
assert.isNotOk(element.$$(elementClass));
});
+
+ test('assignee only displayed if there is one', () => {
+ assert.isNotOk(element.$$('.assignee gr-account-link'));
+ element.change = {
+ assignee: {
+ name: 'test',
+ },
+ };
+ flushAsynchronousOperations();
+ assert.isOk(element.$$('.assignee gr-account-link'));
+ });
});
|