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 && (