mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
fix route rendering
This commit is contained in:
parent
9ddd859037
commit
11740e718b
@ -1,5 +1,5 @@
|
||||
export const getTogglePath = (projectId: string, featureToggleName: string, newPath: boolean) => {
|
||||
return `/projects/${projectId}/features${newPath ? '2' : ''}/${featureToggleName}`;
|
||||
return `/projects/${projectId}/features${newPath ? `2/${featureToggleName}` : `/${featureToggleName}/strategies`}`;
|
||||
};
|
||||
|
||||
export const getToggleCopyPath = (
|
||||
|
Loading…
Reference in New Issue
Block a user