Include trailing slash in link to settings

The GWT UI only supports #/settings/ (the trailing slash is required).
Navigating to settings via the account dropdown in PolyGerrit and
switching UI leads to a Not Found page.

Change-Id: Ia266555f963a6084e4792151b15a3fbae09074a7
This commit is contained in:
Logan Hanks
2017-10-03 06:36:27 -07:00
parent 38d4bc5f29
commit d0b00f252d

View File

@@ -62,7 +62,7 @@
},
_getLinks(switchAccountUrl, path) {
const links = [{name: 'Settings', url: '/settings'}];
const links = [{name: 'Settings', url: '/settings/'}];
if (switchAccountUrl) {
const replacements = {path};
const url = this._interpolateUrl(switchAccountUrl, replacements);