commit | 8b416b0112a14cc66d6442fc1c55864a0b5a8218 | [log] [tgz] |
---|---|---|
author | Dmitrii Filippov <dmfilippov@google.com> | Wed Mar 18 15:55:22 2020 +0100 |
committer | Ben Rohlfs <brohlfs@google.com> | Wed Apr 15 20:56:16 2020 +0000 |
tree | 186ea9b505e5866f94e66c79f8db109771e65f93 | |
parent | d59ab4bcf60ab64fa62b53ddb4f4d6e2eb1bb93b [diff] [blame] |
Hide "Assignee" related components when disabled in config This affects the dashboard column and the change metadata field. Change-Id: Id2d46f5549b856da1c35892c3f547f58444e7eb6
diff --git a/polygerrit-ui/app/elements/change/gr-change-metadata/gr-change-metadata_test.html b/polygerrit-ui/app/elements/change/gr-change-metadata/gr-change-metadata_test.html index 773e6ec..ce3770f 100644 --- a/polygerrit-ui/app/elements/change/gr-change-metadata/gr-change-metadata_test.html +++ b/polygerrit-ui/app/elements/change/gr-change-metadata/gr-change-metadata_test.html
@@ -634,6 +634,11 @@ setup(() => { deleteStub = sandbox.stub(element.$.restAPI, 'deleteAssignee'); setStub = sandbox.stub(element.$.restAPI, 'setAssignee'); + element.serverConfig = { + change: { + enable_assignee: true, + }, + }; }); test('changing change recomputes _assignee', () => {