From 791aed23b5192615a8c4a2bdfc354c9ef3d70e55 Mon Sep 17 00:00:00 2001 From: ivaosthu Date: Tue, 7 Aug 2018 10:33:41 +0200 Subject: [PATCH] fix(ApplicationList): icon can be null and default values will not kick in then. --- frontend/src/component/common/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/component/common/index.js b/frontend/src/component/common/index.js index 73145d6bc9..2dd8dd405d 100644 --- a/frontend/src/component/common/index.js +++ b/frontend/src/component/common/index.js @@ -11,10 +11,10 @@ export const shorten = (str, len = 50) => (str && str.length > len ? `${str.subs export const AppsLinkList = ({ apps }) => ( {apps.length > 0 && - apps.map(({ appName, description = '-', icon = 'apps' }) => ( + apps.map(({ appName, description = '-', icon }) => ( - + {appName}