We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb287e0 commit 5efa52dCopy full SHA for 5efa52d
packages/webdoc-default-template/src/app/components/Explorer/helpers.js
@@ -1,5 +1,7 @@
1
export function isSamePage(data) {
2
- const path = `${window.location.pathname}.html`;
+ const path = window.location.pathname.includes(".html") ?
3
+ window.location.pathname :
4
+ `${window.location.pathname}.html`;
5
6
if (data.page.startsWith("/") && data.page === path) {
7
return true;
0 commit comments