diff --git a/src/widgets/dashDot/DashDotTile.tsx b/src/widgets/dashDot/DashDotTile.tsx index fe19b0110..de21c8f16 100644 --- a/src/widgets/dashDot/DashDotTile.tsx +++ b/src/widgets/dashDot/DashDotTile.tsx @@ -13,6 +13,10 @@ const definition = defineWidget({ id: 'dashdot', icon: 'https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/dashdot.png', options: { + dashName: { + type: 'text', + defaultValue: 'Dash.', + }, url: { type: 'text', defaultValue: '', @@ -177,11 +181,11 @@ function DashDotTile({ widget }: DashDotTileProps) { ); } - const { graphsOrder, usePercentages, columns, graphHeight } = widget.properties; + const { dashName, graphsOrder, usePercentages, columns, graphHeight } = widget.properties; return ( - {t('card.title')} + {dashName ? dashName : t('card.title')} {!info &&

{t('card.errors.noInformation')}

} {info && (