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

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

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,

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: {