mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
Merge pull request #437 from Unleash/fix/featureView-tab
make Overview tab the default tab when open a feature
This commit is contained in:
commit
c3453fad0d
@ -1,5 +1,5 @@
|
|||||||
export const getTogglePath = (projectId: string, featureToggleName: string, newPath: boolean) => {
|
export const getTogglePath = (projectId: string, featureToggleName: string, newPath: boolean) => {
|
||||||
return `/projects/${projectId}/features${newPath ? '2' : ''}/${featureToggleName}/strategies`;
|
return `/projects/${projectId}/features${newPath ? `2/${featureToggleName}` : `/${featureToggleName}/strategies`}`;
|
||||||
};
|
};
|
||||||
|
|
||||||
export const getToggleCopyPath = (
|
export const getToggleCopyPath = (
|
||||||
|
Loading…
Reference in New Issue
Block a user