diff --git a/app/javascript/dashboard/components-next/Contacts/ContactsLayout.vue b/app/javascript/dashboard/components-next/Contacts/ContactsLayout.vue index 8a313dec9..981b6f10a 100644 --- a/app/javascript/dashboard/components-next/Contacts/ContactsLayout.vue +++ b/app/javascript/dashboard/components-next/Contacts/ContactsLayout.vue @@ -179,6 +179,7 @@ const updateCurrentPage = page => { class="sticky bottom-0 z-10 px-4 pb-4" > { }; const currentPageInformation = computed(() => { - return t('PAGINATION_FOOTER.SHOWING', { - startItem: startItem.value, - endItem: endItem.value, - totalItems: props.totalItems, - }); + return t( + props.currentPageInfo ? props.currentPageInfo : 'PAGINATION_FOOTER.SHOWING', + { + startItem: startItem.value, + endItem: endItem.value, + totalItems: props.totalItems, + } + ); }); const pageInfo = computed(() => { diff --git a/app/javascript/dashboard/components-next/phonenumberinput/PhoneNumberInput.vue b/app/javascript/dashboard/components-next/phonenumberinput/PhoneNumberInput.vue index c43264c57..92f9a77e6 100644 --- a/app/javascript/dashboard/components-next/phonenumberinput/PhoneNumberInput.vue +++ b/app/javascript/dashboard/components-next/phonenumberinput/PhoneNumberInput.vue @@ -37,7 +37,6 @@ const emit = defineEmits(['update:modelValue']); const { t } = useI18n(); -const phoneInputRef = ref(null); const hasInputFocused = ref(false); const showDropdown = ref(false); const searchQuery = ref(''); @@ -179,7 +178,6 @@ watch( :class="[inputBorderClass, { 'cursor-not-allowed opacity-50': disabled }]" >