diff --git a/public/locales/en/modules/weather.json b/public/locales/en/modules/weather.json index 405c36263..816b907b0 100644 --- a/public/locales/en/modules/weather.json +++ b/public/locales/en/modules/weather.json @@ -3,6 +3,7 @@ "name": "Weather", "description": "Look up the current weather in your location", "settings": { + "title": "Settings for weather integration", "displayInFahrenheit": { "label": "Display in Fahrenheit" }, @@ -29,4 +30,4 @@ "unknown": "Unknown" } } -} \ No newline at end of file +} diff --git a/src/components/Dashboard/Tiles/Integrations/IntegrationsMenu.tsx b/src/components/Dashboard/Tiles/Integrations/IntegrationsMenu.tsx index ac04fac11..3455bd340 100644 --- a/src/components/Dashboard/Tiles/Integrations/IntegrationsMenu.tsx +++ b/src/components/Dashboard/Tiles/Integrations/IntegrationsMenu.tsx @@ -4,7 +4,7 @@ import { openContextModalGeneric } from '../../../../tools/mantineModalManagerEx import { IntegrationsType } from '../../../../types/integration'; import { TileBaseType } from '../../../../types/tile'; import { GenericTileMenu } from '../GenericTileMenu'; -import { IntegrationChangePositionModalInnerProps } from '../IntegrationChangePositionModal'; +import { IntegrationChangePositionModalInnerProps } from '../../Modals/ChangePosition/ChangeIntegrationPositionModal'; import { IntegrationRemoveModalInnerProps } from '../IntegrationRemoveModal'; import { IntegrationEditModalInnerProps, diff --git a/src/components/Dashboard/Tiles/Weather/WeatherTile.tsx b/src/components/Dashboard/Tiles/Weather/WeatherTile.tsx index 7d022f49f..281ed7fd6 100644 --- a/src/components/Dashboard/Tiles/Weather/WeatherTile.tsx +++ b/src/components/Dashboard/Tiles/Weather/WeatherTile.tsx @@ -4,8 +4,8 @@ import { WeatherIcon } from './WeatherIcon'; import { BaseTileProps } from '../type'; import { useWeatherForCity } from './useWeatherForCity'; import { WeatherIntegrationType } from '../../../../types/integration'; -import { useCardStyles } from '../../../layout/useCardStyles'; import { HomarrCardWrapper } from '../HomarrCardWrapper'; +import { IntegrationsMenu } from '../Integrations/IntegrationsMenu'; interface WeatherTileProps extends BaseTileProps { module: WeatherIntegrationType | undefined; @@ -45,8 +45,17 @@ export const WeatherTile = ({ className, module }: WeatherTileProps) => { return ( +
- + @@ -55,7 +64,7 @@ export const WeatherTile = ({ className, module }: WeatherTileProps) => { module?.properties.isFahrenheit )} - +
{getPerferedUnit(