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:
parent
86d0a86ec9
commit
4a4f5e6d26
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user