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:
parent
6db1483a42
commit
6b08647403
@ -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>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user