history.push(strategiesLink)}
+ onClose={() => onClose()}
+ title="You need to add a strategy to your toggle"
+ primaryButtonText="Take me directly to add strategy"
+ secondaryButtonText="Cancel"
+ >
+
+ Before you can enable the toggle in the environment, you need to
+ add an activation strategy.
+
+
+ You can add the activation strategy by selecting the toggle, open
+ the environment accordion and add the activation strategy.
+
+
+ );
+};
+
+export default EnvironmentStrategyDialog;
diff --git a/frontend/src/component/feature/FeatureToggleListNew/FeatureToggleListNew.styles.ts b/frontend/src/component/feature/FeatureToggleListNew/FeatureToggleListNew.styles.ts
index cd7b318748..9834c942ab 100644
--- a/frontend/src/component/feature/FeatureToggleListNew/FeatureToggleListNew.styles.ts
+++ b/frontend/src/component/feature/FeatureToggleListNew/FeatureToggleListNew.styles.ts
@@ -48,11 +48,4 @@ export const useStyles = makeStyles(theme => ({
textDecoration: 'none',
color: 'inherit',
},
- envName: {
- display: 'inline-block',
- width: '90px',
- textOverflow: 'ellipsis',
- overflow: 'hidden',
- whiteSpace: 'nowrap',
- },
}));
diff --git a/frontend/src/component/feature/FeatureToggleListNew/FeatureToggleListNew.tsx b/frontend/src/component/feature/FeatureToggleListNew/FeatureToggleListNew.tsx
index 58c5546e94..9b6b3f73cf 100644
--- a/frontend/src/component/feature/FeatureToggleListNew/FeatureToggleListNew.tsx
+++ b/frontend/src/component/feature/FeatureToggleListNew/FeatureToggleListNew.tsx
@@ -17,6 +17,7 @@ import {
IFeatureToggleListItem,
} from '../../../interfaces/featureToggle';
import PaginateUI from '../../common/PaginateUI/PaginateUI';
+import StringTruncator from '../../common/StringTruncator/StringTruncator';
interface IFeatureToggleListNewProps {
features: IFeatureToggleListItem[];
loading: boolean;
@@ -236,12 +237,11 @@ const FeatureToggleListNew = ({
)}
align="center"
>
-