static: fix sidebar active not working with search/pagination
This commit is contained in:
parent
4bd433d69e
commit
1ed392c53c
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -28,7 +28,7 @@ export class AdminSideBar extends LitElement {
|
|||
console.log(`Ignoring ${a}`);
|
||||
return;
|
||||
}
|
||||
rawValue = `^${parsedURL.hash.slice(1, Infinity)}$`;
|
||||
rawValue = `^${parsedURL.hash.slice(1, Infinity)}`;
|
||||
}
|
||||
const regexp = RegExp(rawValue);
|
||||
this.paths.push({ anchor: a, match: regexp });
|
||||
|
|
Reference in New Issue