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

fix(archive): do not disaply add strategy in read-only mode

This commit is contained in:
Corinne Krych 2018-03-14 09:43:58 +01:00
parent 6db1483a42
commit 6b08647403

View File

@ -25,7 +25,11 @@ class StrategiesSectionComponent extends React.Component {
return ( return (
<div> <div>
{this.props.addStrategy ? (
<HeaderTitle title="Activation strategies" actions={<AddStrategy {...this.props} />} /> <HeaderTitle title="Activation strategies" actions={<AddStrategy {...this.props} />} />
) : (
<span />
)}
<StrategiesList {...this.props} /> <StrategiesList {...this.props} />
</div> </div>
); );