From 6571a3556343e13a8ee59fae239297e963541a10 Mon Sep 17 00:00:00 2001 From: Quan HL Date: Fri, 20 Oct 2023 17:04:23 +0700 Subject: [PATCH] remove warning message if there is no device call application --- src/containers/internal/views/clients/form.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/containers/internal/views/clients/form.tsx b/src/containers/internal/views/clients/form.tsx index 14b8824..286f1fc 100644 --- a/src/containers/internal/views/clients/form.tsx +++ b/src/containers/internal/views/clients/form.tsx @@ -107,8 +107,6 @@ export const ClientsForm = ({ client }: ClientsFormProps) => { if (!accountSid || !accounts || !acc) return; if (!acc?.sip_realm) { setErrorMessage(`Sip realm is not set for the account.`); - } else if (!acc?.device_calling_application_sid) { - setErrorMessage(`Device calling application is not set for the account.`); } else { setErrorMessage(""); }