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