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

CatalogEnitityDrawerMenu should have actions running left to right

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2021-06-09 12:51:21 -04:00
parent 1ed7892b26
commit c2f87c7e65

View File

@ -97,14 +97,12 @@ export class CatalogEntityDrawerMenu<T extends CatalogEntity> extends React.Comp
); );
} }
items.unshift( 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 title="Add to Hotbar" /> <Icon material="playlist_add" small title="Add to Hotbar" />
</MenuItem> </MenuItem>
); );
items.reverse();
return items; return items;
} }