diff --git a/frontend/src/utils/ParsePath.ts b/frontend/src/utils/ParsePath.ts index 91a5f23..8ed18db 100644 --- a/frontend/src/utils/ParsePath.ts +++ b/frontend/src/utils/ParsePath.ts @@ -54,8 +54,6 @@ export function parsePath(path: string): ParsedPath { } result.instance = path.match(/[/]i[/]([^/]+)/)?.[1] - result.userId = path.match(/[/]u[/]([0-9]+)/)?.[1] - result.userName = path.match(/[/]u[/]([A-Za-z0-9_-]+)/)?.[1] result.researchGroup = path.match(/[/]g[/]([A-Za-z0-9_-]+)/)?.[1] result.researchProject = path.match(/[/]p[/]([A-Za-z0-9_-]+)/)?.[1] result.notebook = path.match(/[/]n[/]([A-Za-z0-9_-]+)/)?.[1] @@ -64,12 +62,6 @@ export function parsePath(path: string): ParsedPath { if(result.instance) { result.count += 1 } - if(result.userId) { - result.count += 1 - } - if(result.userName) { - result.count += 1 - } if(result.researchGroup) { result.count += 1 }