diff --git a/frontend/src/component/application/application-edit-component.js b/frontend/src/component/application/application-edit-component.js index 70b150b879..a6b6e95dcf 100644 --- a/frontend/src/component/application/application-edit-component.js +++ b/frontend/src/component/application/application-edit-component.js @@ -7,6 +7,7 @@ import { List, ListItem, ListItemContent, Textfield, Icon, ProgressBar, Tabs, Tab, + Switch, } from 'react-mdl'; import { HeaderTitle, ExternalIconLink } from '../common'; @@ -67,9 +68,18 @@ class ClientApplications extends PureComponent {
Toggles

- {seenToggles.map((name, i) => - - + {seenToggles.map(({ name, description, enabled, notFound }, i) => + notFound ? + + + + {name} + + + : + + } subtitle={description}> + {name} @@ -81,9 +91,17 @@ class ClientApplications extends PureComponent {
Implemented strategies

- {strategies.map((name, i) => ( - - + {strategies.map(({ name, description, notFound }, i) => ( + notFound ? + + + + {name} + + + : + + {name}