From 192a7f4bcdf090714489e1477f57ef41525463a6 Mon Sep 17 00:00:00 2001 From: hughhhh Date: Wed, 23 Feb 2022 20:39:43 -0800 Subject: [PATCH] change to tenarary --- superset-frontend/src/views/components/MenuRight.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/superset-frontend/src/views/components/MenuRight.tsx b/superset-frontend/src/views/components/MenuRight.tsx index ef400cd34fa51..8222a978c008b 100644 --- a/superset-frontend/src/views/components/MenuRight.tsx +++ b/superset-frontend/src/views/components/MenuRight.tsx @@ -192,8 +192,11 @@ const RightMenu = ({ <> {idx === 2 && } - {item.url && {item.label} } - {item.url === undefined && item.label} + {item.url ? ( + {item.label} + ) : ( + item.label + )} ) : null,