Commit 562cd777 authored by Muhammadali's avatar Muhammadali

update

parent e9306056
......@@ -16,7 +16,7 @@ const BxMiniWidjetUi = ({
const colorTypeFunc = ({ widjetState, reason }) => {
console.log('color_type', `${widjetState}_${reason}`);
switch (`${widjetState}_${reason}`) {
case 'pending':
case ('pending_undefined', 'pending_free'):
return {
backgroundColor: 'gray',
color: '#fff',
......
......@@ -60,15 +60,14 @@ const Root = ({ data, onSetDnd }) => {
const hangupButton = () => {
boxDialer.hangupButtonClick();
};
window.setWSData = (result) => {
setDataSecond(result);
};
const reasonSelect = async (e) => {
let result = await onSetDnd(e);
console.log(e, 'dropdown_value: ', e);
setDataSecond(result);
console.log(dataSecond, 'select_func');
data = result;
// data = result;
};
const selectWidjetType = (type) => {
switch (type) {
case 'bxmini':
......
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