Don't show 'Types of objects' for the 'Cluster' operation. Fixes #7884

This commit is contained in:
Ashesh Vashi
2024-09-18 07:48:09 +05:30
committed by GitHub
parent a361fd94ff
commit 441cc57bb8
14 changed files with 132 additions and 104 deletions
@@ -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}/>;
};