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

refactor: fix missing callback when the prod guard is hidden ()

This commit is contained in:
olav 2022-02-22 16:30:13 +01:00 committed by GitHub
parent 6468c5c57d
commit ff433faad0
2 changed files with 1 additions and 4 deletions
frontend/src/component/feature/FeatureView/FeatureStrategies/FeatureStrategiesEnvironments
FeatureStrategiesEnvironmentList
FeatureStrategyEditable

View File

@ -105,6 +105,7 @@ const FeatureStrategiesEnvironmentList = ({
}
updateStrategy(strategy);
callback();
};
const renderStrategies = () => {

View File

@ -82,10 +82,6 @@ const FeatureStrategyEditable = ({
};
updateStrategy(strategy, cleanup);
if (activeEnvironment.type !== PRODUCTION) {
cleanup();
}
};
useEffect(() => {