Commit 40e6ecc7 authored by Muhammadali's avatar Muhammadali

verison

parent f3db2f02
{
"name": "boxdialer",
"version": "0.1.3",
"version": "0.1.4",
"description": "",
"main": "src/boxDialer.js",
"scripts": {
......
......@@ -166,9 +166,9 @@ const WidjetButton = ({ data, onSetDnd }) => {
<>
<WidjetBlock
id={'responsible-button'}
onClick={(e) => {
boxDialer.selectUser(e)
onClick={() => {
phoneModal ? setPhoneModal(false) : setPhoneModal(true);
boxDialer.selectUser()
}}>
<WidjetBlock.AccauntInfo status={dynamicValue}>
<div className='left'>
......
......@@ -352,9 +352,8 @@ export class BoxDialer {
BX.Runtime.loadExtension('ui.entity-selector').then((exports) => {
const { Dialog, TagSelector } = exports;
const button = param;
const dialog = new BX.UI.EntitySelector.Dialog({
targetNode: button,
// targetNode: button,
enableSearch: true,
context: 'MY_MODULE_CONTEXT',
entities: [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment