1
0
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:
sveisvei 2016-10-25 19:55:34 +02:00
parent f439bcacd7
commit 15dac5dba7

View File

@ -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>,