mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix menu actions not opening in multiple places (#5799)
This commit is contained in:
1 parent
07c5de6e8e
commit
b16a419287
6 files changed
+6
-6
No files matched your search
@@ -95,7 +95,7 @@ class NonInjectedCatalogEntityDrawerMenu<T extends CatalogEntity> extends React.
|
||||
|
||||
return (
|
||||
<MenuActions
|
||||
id="menu-actions-for-catalog-entity-drawer-menu"
|
||||
id={`menu-actions-for-catalog-entity-drawer-menu-${entity.getId()}`}
|
||||
className={cssNames("CatalogEntityDrawerMenu", className)}
|
||||
toolbar
|
||||
{...menuProps}
|
||||
|
||||
@@ -198,7 +198,7 @@ class NonInjectedCatalog extends React.Component<Dependencies> {
|
||||
};
|
||||
|
||||
return (
|
||||
<MenuActions id="menu-actions-for-catalog" onOpen={onOpen}>
|
||||
<MenuActions id={`menu-actions-for-catalog-for-${entity.getId()}`} onOpen={onOpen}>
|
||||
<MenuItem
|
||||
key="open-details"
|
||||
onClick={() => this.props.catalogEntityStore.selectedItemId.set(entity.getId())}
|
||||
|
||||
Reference in new issue
Block a user