From e2c1e6ff0004645a4364da4921efc9165da8d4d5 Mon Sep 17 00:00:00 2001 From: iamsivin Date: Mon, 11 Nov 2024 21:26:21 +0530 Subject: [PATCH] chore: Fix warning --- .../components-next/CustomAttributes/DateAttribute.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/javascript/dashboard/components-next/CustomAttributes/DateAttribute.vue b/app/javascript/dashboard/components-next/CustomAttributes/DateAttribute.vue index 4ef63cf28..5d0537cb4 100644 --- a/app/javascript/dashboard/components-next/CustomAttributes/DateAttribute.vue +++ b/app/javascript/dashboard/components-next/CustomAttributes/DateAttribute.vue @@ -128,8 +128,9 @@ const handleInputUpdate = async () => { type="date" class="w-full [&>p]:absolute [&>p]:mt-0.5 [&>p]:top-8 ltr:[&>p]:left-0 rtl:[&>p]:right-0" :message=" - hasError && - t('CONTACTS_LAYOUT.SIDEBAR.ATTRIBUTES.VALIDATIONS.INVALID_DATE') + hasError + ? t('CONTACTS_LAYOUT.SIDEBAR.ATTRIBUTES.VALIDATIONS.INVALID_DATE') + : '' " :message-type="hasError ? 'error' : 'info'" autofocus