feat(weather-widget): add imperial windspeed option (#4253)

This commit is contained in:
Meier Lukas
2025-10-10 19:59:05 +02:00
committed by GitHub
parent 6d0a1452a6
commit 50a23d76e3
6 changed files with 44 additions and 6 deletions

View File

@@ -88,6 +88,7 @@ const optionMapping: OptionMapping = {
location: (oldOptions) => oldOptions.location,
showCity: (oldOptions) => oldOptions.displayCityName,
dateFormat: (oldOptions) => (oldOptions.dateFormat === "hide" ? undefined : oldOptions.dateFormat),
useImperialSpeed: () => undefined,
},
iframe: {
embedUrl: (oldOptions) => oldOptions.embedUrl,