web: match on path begin in sidebar
This commit is contained in:
parent
a85b8a65c0
commit
4daa373dcf
|
@ -29,7 +29,7 @@ export class SidebarItem {
|
|||
this.condition = async () => true;
|
||||
this.activeMatchers = [];
|
||||
if (this.path) {
|
||||
this.activeMatchers.push(new RegExp(`^${this.path}$`));
|
||||
this.activeMatchers.push(new RegExp(`^${this.path}`));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue