From 254f29c347bbef080a5d9de19fd1c4d609e5c78e Mon Sep 17 00:00:00 2001 From: Marius Andra Date: Tue, 3 Oct 2023 15:53:04 +0200 Subject: [PATCH] also here --- frontend/src/scenes/urls.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/scenes/urls.ts b/frontend/src/scenes/urls.ts index c743634000c68..1625a1cebc715 100644 --- a/frontend/src/scenes/urls.ts +++ b/frontend/src/scenes/urls.ts @@ -88,7 +88,7 @@ export const urls = { combineUrl(`/replay/playlists/${id}`, filters ? { filters } : {}).url, replaySingle: (id: string, filters?: Partial): string => combineUrl(`/replay/${id}`, filters ? { filters } : {}).url, - personDistinctId: (id: string, encode: boolean = true): string => + personByDistinctId: (id: string, encode: boolean = true): string => encode ? `/person/${encodeURIComponent(id)}` : `/person/${id}`, persons: (): string => '/persons', groups: (groupTypeIndex: string | number): string => `/groups/${groupTypeIndex}`,