mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-21 06:10:44 +08:00
Restrict parameters for updating project route
We restricted the allowed parameters that are used for project-relative navigation. This allows us to better understand which of the parameters are used. Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
This commit is contained in:
@@ -8,7 +8,9 @@
|
||||
updateProjectRoute,
|
||||
} from "@app/views/projects/router";
|
||||
|
||||
export let projectParams: Partial<ProjectsParams>;
|
||||
export let projectParams: Partial<
|
||||
Omit<ProjectsParams, "id" | "route" | "hash">
|
||||
>;
|
||||
export let title: string | undefined = undefined;
|
||||
|
||||
const dispatch = createEventDispatcher<{ click: never }>();
|
||||
|
||||
Reference in New Issue
Block a user