change(ui): hide 0
This commit is contained in:
parent
42fec5c19f
commit
33084001c7
1 changed files with 2 additions and 2 deletions
|
|
@ -43,7 +43,7 @@ function DashboardWidgetGrid(props: Props) {
|
|||
<div className="w-4/5 m-auto mt-4"><AddMetricContainer siteId={siteId} /></div>
|
||||
}
|
||||
>
|
||||
{smallWidgets.length && (
|
||||
{smallWidgets.length > 0 ? (
|
||||
<>
|
||||
<div className="font-semibold text-xl py-4 flex items-center gap-2">
|
||||
<Icon name="grid-horizontal" size={26} />
|
||||
|
|
@ -65,7 +65,7 @@ function DashboardWidgetGrid(props: Props) {
|
|||
))}
|
||||
</div>
|
||||
</>
|
||||
)}
|
||||
) : null}
|
||||
|
||||
<div className="font-semibold text-xl py-4 flex items-center gap-2">
|
||||
<Icon name="grid-horizontal" size={26} />
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue