diff --git a/src/components/Dashboard/Tiles/Widgets/WidgetsEditModal.tsx b/src/components/Dashboard/Tiles/Widgets/WidgetsEditModal.tsx index 9ea5fad5a..d28d5cf44 100644 --- a/src/components/Dashboard/Tiles/Widgets/WidgetsEditModal.tsx +++ b/src/components/Dashboard/Tiles/Widgets/WidgetsEditModal.tsx @@ -115,6 +115,7 @@ export const WidgetsEditModal = ({ ); }; +// Widget switch // Widget options are computed based on their type. // here you can define new types for options (along with editing the widgets.d.ts file) function WidgetOptionTypeSwitch( @@ -170,16 +171,19 @@ function WidgetOptionTypeSwitch( ); case 'slider': return ( - handleChange(key, v)} - /> + + {t(`descriptor.settings.${key}.label`)} + handleChange(key, v)} + /> + ); default: return null;