mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
- Some UI changes based on review comments. - Fix the numeric type.
This commit is contained in:
committed by
Akshay Joshi
parent
453f26817a
commit
5db72a6916
@@ -781,9 +781,6 @@ export function InputColor({value, controlProps, disabled, onChange, currObj}) {
|
||||
|
||||
let btnStyles = {backgroundColor: value};
|
||||
return (
|
||||
// <Button variant="contained" ref={eleRef} className={classes.colorBtn} style={btnStyles} disabled={pickrOptions.disabled}>
|
||||
// {(_.isUndefined(value) || _.isNull(value) || value === '') && <CloseIcon />}
|
||||
// </Button>
|
||||
<PgIconButton ref={eleRef} title={gettext('Select the color')} className={classes.colorBtn} style={btnStyles} disabled={pickrOptions.disabled}
|
||||
icon={(_.isUndefined(value) || _.isNull(value) || value === '') && <CloseIcon />}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user