commit | bab6240034998fdf30e709d217fcb33b2879823a | [log] [tgz] |
---|---|---|
author | Ben Rohlfs <brohlfs@google.com> | Wed Feb 15 09:30:33 2023 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Feb 15 09:30:33 2023 +0000 |
tree | 42ed27e761230c746fabfaca3ad03d5d67e3a190 | |
parent | 5d0366718f3db3db66eee3a82837ec2b2ed0987b [diff] | |
parent | 80b76cc44e83e62a1faa73fc1407ecfa76ee5487 [diff] |
Merge "Fix 404 fallback link to docsBaseUrl"
diff --git a/polygerrit-ui/app/elements/core/gr-search-bar/gr-search-bar.ts b/polygerrit-ui/app/elements/core/gr-search-bar/gr-search-bar.ts index fbc87ed..314e126 100644 --- a/polygerrit-ui/app/elements/core/gr-search-bar/gr-search-bar.ts +++ b/polygerrit-ui/app/elements/core/gr-search-bar/gr-search-bar.ts
@@ -278,7 +278,7 @@ // fallback to gerrit's official doc let baseUrl = this.docsBaseUrl || - 'https://gerrit-review.googlesource.com/documentation/'; + 'https://gerrit-review.googlesource.com/Documentation/'; if (baseUrl.endsWith('/')) { baseUrl = baseUrl.substring(0, baseUrl.length - 1); }
diff --git a/polygerrit-ui/app/elements/core/gr-search-bar/gr-search-bar_test.ts b/polygerrit-ui/app/elements/core/gr-search-bar/gr-search-bar_test.ts index 43b1f86..0694453 100644 --- a/polygerrit-ui/app/elements/core/gr-search-bar/gr-search-bar_test.ts +++ b/polygerrit-ui/app/elements/core/gr-search-bar/gr-search-bar_test.ts
@@ -319,7 +319,7 @@ await element.updateComplete; assert.equal( element.computeHelpDocLink(), - 'https://gerrit-review.googlesource.com/documentation/' + + 'https://gerrit-review.googlesource.com/Documentation/' + 'user-search.html' ); });