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

fix add to hotbar

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen 2021-04-21 06:59:06 +03:00
parent 6ec54b6485
commit 412162fa71

View File

@ -57,7 +57,7 @@ export class Catalog extends React.Component {
}
addToHotbar(item: CatalogEntityItem) {
const hotbar = hotbarStore.getByName("default"); // FIXME
const hotbar = hotbarStore.getActive();
if (!hotbar) {
return;
@ -67,7 +67,7 @@ export class Catalog extends React.Component {
}
removeFromHotbar(item: CatalogEntityItem) {
const hotbar = hotbarStore.getByName("default"); // FIXME
const hotbar = hotbarStore.getActive();
if (!hotbar) {
return;