web/admin: default to users path in sidebar link
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
		| @ -123,7 +123,8 @@ export class SidebarItem extends LitElement { | ||||
|             return false; | ||||
|         } | ||||
|         if (this.path) { | ||||
|             if (new RegExp(`^${this.path}$`).exec(path)) { | ||||
|             const ourPath = this.path.split(";")[0]; | ||||
|             if (new RegExp(`^${ourPath}$`).exec(path)) { | ||||
|                 return true; | ||||
|             } | ||||
|         } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Jens Langhammer
					Jens Langhammer