Setup: Add option to skip SIP trunk configuration

This commit is contained in:
user
2020-06-01 11:27:38 -07:00
parent b7b686ff6b
commit a1784a3edc
2 changed files with 11 additions and 5 deletions
+11
View File
@@ -12,6 +12,7 @@ import Button from '../elements/Button';
import TrashButton from '../elements/TrashButton';
import Loader from '../blocks/Loader';
import sortSipGateways from '../../helpers/sortSipGateways';
import Link from '../elements/Link';
const SipTrunkForm = props => {
const history = useHistory();
@@ -671,6 +672,16 @@ const SipTrunkForm = props => {
}
</Button>
</InputGroup>
{props.type === 'setup' && (
<Link
formLink
right
to="/setup-complete"
>
Skip for now &mdash; I'll complete later
</Link>
)}
</Form>
);
};
-5
View File
@@ -158,11 +158,6 @@ const Login = props => {
return;
}
if (!voipCarriers.length) {
history.push('/configure-sip-trunk');
return;
}
history.push('/internal/accounts');
} catch (err) {