diff --git a/src/renderer/components/hotbar/hotbar-icon.tsx b/src/renderer/components/hotbar/hotbar-icon.tsx index 87cb06bebf..485be6f5ee 100644 --- a/src/renderer/components/hotbar/hotbar-icon.tsx +++ b/src/renderer/components/hotbar/hotbar-icon.tsx @@ -103,7 +103,7 @@ export class HotbarIcon extends React.Component { {entity.metadata.name} {this.iconString} { onClick={() => entity.onRun(catalogEntityRunContext)} /> )} + {!entity && ( +
HotbarStore.getInstance().removeEmptyCell(index)}> + +
+ )} ); }); @@ -90,7 +95,7 @@ export class HotbarMenu extends React.Component { renderAddCellButton() { return ( - );