Merge pull request #1044 from ajnart/add-location-selection-for-weather-widget

✨ Improve location selection for weather
This commit is contained in:
Meier Lukas authored and GitHub committed 2023-06-13 20:50:34 +02:00
commit e24122b355
15 files changed
+814 -507

No files matched your search

+1 -1
View File
@@ -38,7 +38,7 @@ export async function getServerSideProps({
};
}
const config = getFrontendConfig(configName as string);
const config = await getFrontendConfig(configName as string);
setCookie('config-name', configName, {
req,
res,
+1 -1
View File
@@ -47,7 +47,7 @@ export async function getServerSideProps({
}
const translations = await getServerSideTranslations(dashboardNamespaces, locale, req, res);
const config = getFrontendConfig(configName as string);
const config = await getFrontendConfig(configName as string);
return {
props: {