mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-08-19 01:15:04 -05:00
Don't show 'Types of objects' for the 'Cluster' operation. Fixes #7884
This commit is contained in:
@@ -31,11 +31,14 @@ export const SearchInputText = ({
|
||||
placeholder: placeholder || gettext('Search'),
|
||||
style: {
|
||||
width: size == SEARCH_INPUT_SIZE.FULL ? '100%' : '50%',
|
||||
float: alignment == SEARCH_INPUT_ALIGNMENT.RIGHT ? 'right' : 'left',
|
||||
},
|
||||
value: searchText,
|
||||
onChange,
|
||||
};
|
||||
if (alignment == SEARCH_INPUT_ALIGNMENT.RIGHT)
|
||||
props.style['margin-left'] = 'auto';
|
||||
else
|
||||
props.style['margin-right'] = 'auto';
|
||||
|
||||
return <InputText {...props}/>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user