From 38d607848fcb52f9d18dc5060919602e5dae23bc Mon Sep 17 00:00:00 2001 From: Darin Kelkhoff Date: Fri, 14 Apr 2023 11:13:48 -0500 Subject: [PATCH] Fix some layout of View All, Add New --- src/qqq/components/widgets/Widget.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/qqq/components/widgets/Widget.tsx b/src/qqq/components/widgets/Widget.tsx index fa6f00c..62ce5de 100644 --- a/src/qqq/components/widgets/Widget.tsx +++ b/src/qqq/components/widgets/Widget.tsx @@ -142,7 +142,7 @@ function Widget(props: React.PropsWithChildren): JSX.Element { const link = component as HeaderLink return ( - + {link.to ? {link.label} : null} ); @@ -152,7 +152,7 @@ function Widget(props: React.PropsWithChildren): JSX.Element { const addNewRecordButton = component as AddNewRecordButton return ( - + ); @@ -297,8 +297,8 @@ function Widget(props: React.PropsWithChildren): JSX.Element const hasPermission = props.widgetData?.hasPermission === undefined || props.widgetData?.hasPermission === true; const widgetContent = - - + + { hasPermission ? props.widgetMetaData?.icon && (