diff --git a/resources/client/cl_exports.ts b/resources/client/cl_exports.ts index 9067d3063..c82864053 100644 --- a/resources/client/cl_exports.ts +++ b/resources/client/cl_exports.ts @@ -25,6 +25,11 @@ exps('openApp', (app: string) => { sendMessage('PHONE', PhoneEvents.OPEN_APP, app); }); +// Allow to handle dynamicly callModal +exps('phoneModal', (show: boolean) => { + return callService.openCallModal(show); +}); + // Will set the phone to open or closed based on based value exps('setPhoneVisible', async (bool: boolean | number) => { verifyExportArgType('setPhoneVisible', bool, ['boolean', 'number']);