From 15dac5dba7d077321d0666a74db870b7679c9c0e Mon Sep 17 00:00:00 2001 From: sveisvei Date: Tue, 25 Oct 2016 19:55:34 +0200 Subject: [PATCH] allow missing strategies --- .../src/component/feature/feature-component.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/unleash-frontend-next/src/component/feature/feature-component.jsx b/packages/unleash-frontend-next/src/component/feature/feature-component.jsx index 92b022d4fd..15107f01a1 100644 --- a/packages/unleash-frontend-next/src/component/feature/feature-component.jsx +++ b/packages/unleash-frontend-next/src/component/feature/feature-component.jsx @@ -12,7 +12,7 @@ const Feature = ({ feature, onFeatureClick, onFeatureRemove }) => { const { name, description, enabled, strategies } = feature; // eslint-disable-line no-shadow const actions = [ -
{strategies.map(s => {s.name})}
, +
{strategies && strategies.map(s => {s.name})}
, ,