mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
dbeaver/pro#7801 convert to boolean (#3986)
This commit is contained in:
@@ -180,7 +180,7 @@ export const Combobox: ComboboxType = observer(function Combobox({
|
||||
}
|
||||
|
||||
const displayPopover = !allowCustomValue || items.length > 0;
|
||||
const hasCancelButton = displayValue && allowClear && !disabled && !readOnly;
|
||||
const hasCancelButton = !!displayValue && allowClear && !disabled && !readOnly;
|
||||
|
||||
return (
|
||||
<Field {...layoutProps} className={clsx(className, inline && 'tw:flex tw:items-center')}>
|
||||
|
||||
Reference in New Issue
Block a user