Replacing icon in entity drawer menu

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev committed 2021-09-15 11:18:43 +03:00
1 parent 690c5f28c4
commit c31328db13
1 file changed
+2 -2
@@ -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;
} }