diff --git a/frontend/src/component/strategies/list-component.jsx b/frontend/src/component/strategies/list-component.jsx index 3b9d417181..a56632a441 100644 --- a/frontend/src/component/strategies/list-component.jsx +++ b/frontend/src/component/strategies/list-component.jsx @@ -33,7 +33,7 @@ class StrategiesListComponent extends Component { {strategy.name} - removeStrategy(strategy)} /> + {strategy.editable === false ? '' : removeStrategy(strategy)} />} )) : No entries} diff --git a/frontend/src/component/strategies/strategy-details-component.jsx b/frontend/src/component/strategies/strategy-details-component.jsx index 6a879e5b7b..e538baa16b 100644 --- a/frontend/src/component/strategies/strategy-details-component.jsx +++ b/frontend/src/component/strategies/strategy-details-component.jsx @@ -60,21 +60,24 @@ export default class StrategyDetails extends Component { const tabContent = this.getTabContent(activeTabId); - return ( - + return ( - - this.goToTab('view')}>Details - this.goToTab('edit')}>Edit - + {strategy.editable === false ? '' : + this.goToTab('view')}> + Details + + this.goToTab('edit')}> + Edit + + } +
{tabContent}
-
- ); +
); } }