mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-10 22:32:16 +02:00
Merge remote-tracking branch 'upstream/ci_mvp' into feat/ci-ui-changes
This commit is contained in:
commit
fd8d1273cd
188 changed files with 2163 additions and 3644 deletions
|
|
@ -1,7 +1,7 @@
|
|||
type RouteParams = Record<string, string | string[] | undefined>;
|
||||
|
||||
export function getWorkspaceIdParam(params: RouteParams | null | undefined): string | undefined {
|
||||
const value = params?.workspace_id ?? params?.search_space_id;
|
||||
const value = params?.workspace_id;
|
||||
return Array.isArray(value) ? value[0] : value;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue