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 (
|
||||
<div>
|
||||
<HeaderTitle title="Activation strategies" actions={<AddStrategy {...this.props} />} />
|
||||
{this.props.addStrategy ? (
|
||||
<HeaderTitle title="Activation strategies" actions={<AddStrategy {...this.props} />} />
|
||||
) : (
|
||||
<span />
|
||||
)}
|
||||
<StrategiesList {...this.props} />
|
||||
</div>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user