Skip to content

Commit

Permalink
migrate rhoas kafka and helm
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinandan13jan committed Nov 9, 2021
1 parent 087fafa commit b10fe74
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
import { contextMenuActions } from '@console/topology/src/actions/contextMenuActions';
import {
WorkloadNode,
noRegroupWorkloadContextMenu,
createConnectorCallback,
NodeComponentProps,
nodeDragSourceSpec,
Expand Down Expand Up @@ -45,7 +44,7 @@ export const getHelmComponentFactory = (
withEditReviewAccess('patch')(
withDragNode(nodeDragSourceSpec(type, false))(
withSelection({ controlled: true })(
withContextMenu(noRegroupWorkloadContextMenu)(WorkloadNode),
withContextMenu(contextMenuActions)(WorkloadNode),
),
),
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ import {
withSelection,
withCreateConnector,
} from '@patternfly/react-topology';
import { contextMenuActions } from '@console/topology/src/actions/contextMenuActions';
import {
createConnectorCallback,
nodeDragSourceSpec,
withContextMenu,
CreateConnector,
noRegroupWorkloadContextMenu,
} from '@console/topology/src/components/graph-view';
import BindableNode from '@console/topology/src/components/graph-view/components/nodes/trapezoidNode/BindableNode';
import { withEditReviewAccess } from '@console/topology/src/utils';
Expand All @@ -29,9 +29,7 @@ export const getRhoasComponentFactory = (
)(
withEditReviewAccess('patch')(
withDragNode(nodeDragSourceSpec(type))(
withSelection({ controlled: true })(
withContextMenu(noRegroupWorkloadContextMenu)(BindableNode),
),
withSelection({ controlled: true })(withContextMenu(contextMenuActions)(BindableNode)),
),
),
);
Expand Down

0 comments on commit b10fe74

Please sign in to comment.