We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e63b56 commit a45a15bCopy full SHA for a45a15b
frontend/app/components/topnav.hbs
@@ -92,7 +92,7 @@
92
<Topnav::LinkTo
93
@onClick={{fn (mut this.expand) false}}
94
title="Open Timed documentation for current page"
95
- href={{this.docs.docsEndpoint}}
+ href={{this.docs.endpoint}}
96
target="_blank"
97
data-test-docs-link
98
>
frontend/app/services/docs.js
@@ -16,11 +16,11 @@ const ROUTE_DOCS_MAPPING = {
16
export default class DocsService extends Service {
17
@service router;
18
19
- get docsEndpoint() {
+ get endpoint() {
20
return config.docsBaseUrl + this.docsURL;
21
}
22
23
get docsURL() {
24
- return ROUTE_DOCS_MAPPING[this.router.currentRouteName] || "";
+ return ROUTE_DOCS_MAPPING[this.router.currentRouteName] ?? "";
25
26
0 commit comments