mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-01 00:08:27 +01:00
allow missing strategies
This commit is contained in:
parent
f439bcacd7
commit
15dac5dba7
@ -12,7 +12,7 @@ const Feature = ({ feature, onFeatureClick, onFeatureRemove }) => {
|
||||
const { name, description, enabled, strategies } = feature; // eslint-disable-line no-shadow
|
||||
|
||||
const actions = [
|
||||
<div>{strategies.map(s => <Chip><small>{s.name}</small></Chip>)}</div>,
|
||||
<div>{strategies && strategies.map(s => <Chip><small>{s.name}</small></Chip>)}</div>,
|
||||
<Link to={`/features/edit/${name}`} title={`Edit ${name}`}>
|
||||
<FontIcon value="edit" className={style.action} />
|
||||
</Link>,
|
||||
|
Loading…
Reference in New Issue
Block a user