commit | 180a8f5795c6ed5c1b424aff2e8b4b761686ff61 | [log] [tgz] |
---|---|---|
author | Paladox none <thomasmulhall410@yahoo.com> | Fri May 26 21:05:45 2017 +0000 |
committer | Paladox none <thomasmulhall410@yahoo.com> | Fri May 26 21:25:08 2017 +0000 |
tree | 8af8205705ce6c9c281bcbd3b5ed48e1fb7ad9e0 | |
parent | 7f173f22bbaf0c9298252aefa69cbf7e97dfe9b7 [diff] |
PolyGerrit: Remove blacklist for Repository Browser This allow every other link appart from gitiles and gitweb to work. This fixes it so gerrit-review should now work with links on the project list. Change-Id: I451aa352c80c59298f7373f7a6e9d04d53a5c398
diff --git a/polygerrit-ui/app/elements/admin/gr-admin-project-list/gr-admin-project-list.js b/polygerrit-ui/app/elements/admin/gr-admin-project-list/gr-admin-project-list.js index 1c0440e..038b41f 100644 --- a/polygerrit-ui/app/elements/admin/gr-admin-project-list/gr-admin-project-list.js +++ b/polygerrit-ui/app/elements/admin/gr-admin-project-list/gr-admin-project-list.js
@@ -97,16 +97,12 @@ this.encodeURL(item, false); }, - _isProjectWebLink(link) { - return link.name === 'gitiles' || link.name === 'gitweb'; - }, _computeWeblink(project) { if (!project.web_links) { return ''; } - const webLinks = project.web_links.filter( - l => !this._isProjectWebLink(l)); + const webLinks = project.web_links; return webLinks.length ? webLinks : null; },