+ class="flex items-center gap-2 text-base sm:text-xl font-medium uppercase text-text-light dark:text-text-dark">
{{ checkoutStore.vNewAddressCountry ?
checkoutStore.vNewAddressCountry.name : '-' }}
diff --git a/components/section/RegistrationMain.vue b/components/section/RegistrationMain.vue
index 3739dc5..76823dc 100644
--- a/components/section/RegistrationMain.vue
+++ b/components/section/RegistrationMain.vue
@@ -7,19 +7,19 @@
}" />
-
+
{{ $t('sign_up') }}
-
-
Obecné informace
+
{{ $t('current_information') }}
{{ $t('last_name') }}
@@ -29,7 +29,7 @@
{{ $t('phone') }}
@@ -48,7 +48,7 @@
{{ $t('account_type') }}
-
- {{ component.front_section_lang[0].data.account_types.find((item) => item.name === modelValue)?.name }}
+ {{component.front_section_lang &&
+ component.front_section_lang[0].data.account_types.find((item) => item.name
+ === modelValue)?.name}}
@@ -150,7 +153,9 @@ const menuStore = useMenuStore()
const dropdownRef = ref(null);
const dropCountry = ref()
-const selectedType = ref(props.component.front_section_lang[0].data.account_types[0].name)
+const selectedType = ref()
+if (props.component.front_section_lang)
+ selectedType.value = props.component.front_section_lang[0].data.account_types[0].name
onClickOutside(dropdownRef, () => {
dropCountry.value = false
diff --git a/components/ui/CheckoutInput.vue b/components/ui/CheckoutInput.vue
index 49d6eff..50d731c 100644
--- a/components/ui/CheckoutInput.vue
+++ b/components/ui/CheckoutInput.vue
@@ -9,7 +9,7 @@
:placeholder="placeholder" :disabled="disabled"
@input="$emit('update:modelValue', ($event.target as HTMLInputElement).value)"
@focus="$emit('focus')" @blur="$emit('blur')"
- class="border border-block placeholder:text-gray dark:placeholder:text-button-disabled rounded-lg px-6 h-[67px] w-full focus:outline-none focus:ring-0 focus:border-2" />
+ class="border border-block placeholder:text-gray dark:placeholder:text-button-disabled rounded-lg px-6 h-[50px] sm:h-[67px] w-full focus:outline-none focus:ring-0 focus:border-2" />