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 (#3015)

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2021-06-09 15:35:46 -04:00 committed by GitHub
parent 86d0a86ec9
commit 4a4f5e6d26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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) }>
<Icon material="playlist_add" small title="Add to Hotbar" />
</MenuItem>
);
items.reverse();
return items;
}