1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Replacing icon in entity drawer menu

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2021-09-15 11:18:43 +03:00
parent 690c5f28c4
commit c31328db13

View File

@ -100,7 +100,7 @@ export class CatalogEntityDrawerMenu<T extends CatalogEntity> extends React.Comp
items.push( items.push(
<MenuItem key="add-to-hotbar" onClick={() => this.addToHotbar(entity) }> <MenuItem key="add-to-hotbar" onClick={() => this.addToHotbar(entity) }>
<Icon material="playlist_add" small tooltip="Add to Hotbar" /> <Icon material="push_pin" small tooltip="Add to Hotbar" />
</MenuItem> </MenuItem>
); );
@ -109,7 +109,7 @@ export class CatalogEntityDrawerMenu<T extends CatalogEntity> extends React.Comp
render() { render() {
const { className, item: entity, ...menuProps } = this.props; const { className, item: entity, ...menuProps } = this.props;
if (!this.contextMenu || !entity.enabled) { if (!this.contextMenu || !entity.enabled) {
return null; return null;
} }