Commit c7abd823 authored by Muhammadali's avatar Muhammadali

update verison: 0.3.9

parent 99181e41
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "0.3.8", "version": "0.3.9",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -370,9 +370,9 @@ export class BoxDialer { ...@@ -370,9 +370,9 @@ export class BoxDialer {
const { item } = event.getData(); const { item } = event.getData();
const dialog = event.getTarget(); const dialog = event.getTarget();
const selectedItems = dialog.getSelectedItems(); const selectedItems = dialog.getSelectedItems();
let phoneUserNumber = item.customData.map( let phoneUserNumber = item?.customData?.map((value, key) => {
(value, key) => key === 'ufPhoneInner' && value, value, key;
)[0]; });
console.log(phoneUserNumber, 'select item'); console.log(phoneUserNumber, 'select item');
}, },
get 'Item:onSelect'() { get 'Item:onSelect'() {
......
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