Adjust error message for duplicate SIP gateways

This commit is contained in:
James Nuanez
2020-04-21 15:55:11 -07:00
parent fe341f1d7a
commit ff427b83a2
+1 -1
View File
@@ -312,7 +312,7 @@ const SipTrunkForm = props => {
if (!gateway.ip) return;
if (type === 'invalid') return;
if (gateway.ip === otherGateway.ip && gateway.port === otherGateway.port) {
errorMessages.push('Each row must have a unique IP/Port combination. Please delete the duplicate row.');
errorMessages.push('Each SIP gateway must have a unique IP address.');
updateSipGateways(null, i, 'invalidIp');
updateSipGateways(null, i, 'invalidPort');
updateSipGateways(null, j, 'invalidIp');