1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-20 00:08:02 +01:00

Fix strategy screen 404 (#2638)

This commit is contained in:
Mateusz Kwasniewski 2022-12-09 09:29:44 +01:00 committed by GitHub
parent a3328a2d18
commit a87145b5ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -128,7 +128,9 @@ export const FeatureStrategyCreate = () => {
}
};
if (!data) return null;
const emptyFeature = !data || !data.project;
if (emptyFeature) return null;
return (
<FormTemplate