diff --git a/storefront/app.vue b/storefront/app.vue index 56dd9aef..f7ce1fab 100644 --- a/storefront/app.vue +++ b/storefront/app.vue @@ -59,12 +59,14 @@ const { isSupportedLocale } = useLocaleRedirect(); let refreshInterval: NodeJS.Timeout; -await Promise.all([ - refresh(), - useLanguages(), - useCompanyInfo(), - getCategories() -]); +if (import.meta.server) { + await Promise.all([ + refresh(), + useLanguages(), + useCompanyInfo(), + getCategories() + ]); +} watch( () => appStore.activeState, diff --git a/storefront/components/ui/input.vue b/storefront/components/ui/input.vue index 6eff5f16..16a05620 100644 --- a/storefront/components/ui/input.vue +++ b/storefront/components/ui/input.vue @@ -9,6 +9,7 @@ @keydown="numberOnly ? onlyNumbersKeydown($event) : null" class="block__input" :inputmode="inputMode || 'text'" + :autocapitalize="type === 'input' ? 'off' : 'on'" >