mirror of
https://github.com/jambonz/jambonz-webapp.git
synced 2026-07-24 21:12:26 +00:00
Setup: Add option to skip SIP trunk configuration
This commit is contained in:
@@ -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 — I'll complete later
|
||||
</Link>
|
||||
)}
|
||||
</Form>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -158,11 +158,6 @@ const Login = props => {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!voipCarriers.length) {
|
||||
history.push('/configure-sip-trunk');
|
||||
return;
|
||||
}
|
||||
|
||||
history.push('/internal/accounts');
|
||||
|
||||
} catch (err) {
|
||||
|
||||
Reference in New Issue
Block a user