From 6fcef2ee37105d7766dad529731bd7ca6d1426e4 Mon Sep 17 00:00:00 2001 From: Alex P Date: Wed, 25 Oct 2017 18:30:35 -0700 Subject: [PATCH] Guard against empty arrays of dropdown actions --- ui/src/shared/components/Dropdown.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/shared/components/Dropdown.js b/ui/src/shared/components/Dropdown.js index b0d4093818..33d93aafb7 100644 --- a/ui/src/shared/components/Dropdown.js +++ b/ui/src/shared/components/Dropdown.js @@ -164,7 +164,7 @@ class Dropdown extends Component { > {item.text} - {actions + {actions && actions.length ?
{actions.map(action => { return (