remove warning message if there is no device call application

This commit is contained in:
Quan HL
2023-10-20 17:04:23 +07:00
parent af8c09587c
commit 6571a35563

View File

@@ -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("");
}