|
|
@ -54,7 +54,7 @@ export const DropdownPanel = (props: DropdownPanelProps) => { |
|
|
|
} |
|
|
|
} |
|
|
|
const [state, setState] = useState({ |
|
|
|
const [state, setState] = useState({ |
|
|
|
header: '', |
|
|
|
header: '', |
|
|
|
toggleDropdown: false, |
|
|
|
toggleDropdown: true, |
|
|
|
message: { |
|
|
|
message: { |
|
|
|
innerText: 'No data available.', |
|
|
|
innerText: 'No data available.', |
|
|
|
display: 'block' |
|
|
|
display: 'block' |
|
|
@ -163,7 +163,7 @@ export const DropdownPanel = (props: DropdownPanelProps) => { |
|
|
|
display: isEmpty ? 'block' : 'none' |
|
|
|
display: isEmpty ? 'block' : 'none' |
|
|
|
}, |
|
|
|
}, |
|
|
|
updating: false, |
|
|
|
updating: false, |
|
|
|
toggleDropdown: !isEmpty, |
|
|
|
toggleDropdown: true, |
|
|
|
data: calldata |
|
|
|
data: calldata |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|