Compare commits

...

1 Commits

Author SHA1 Message Date
Quan HL
6571a35563 remove warning message if there is no device call application 2023-10-20 17:04:23 +07:00

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