Skip to content

Commit

Permalink
chore(Flow): Move Flow related files to EmptyState
Browse files Browse the repository at this point in the history
With the upcoming rework on the New Flow aspect of Kaoto, the existing
functionality will be only used in the Empty State, therefore, we're
moving those files to be a subcomponent of said component.

relates: #1030
  • Loading branch information
lordrip committed Apr 26, 2024
1 parent c809a3b commit 4a0fdaf
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { EntitiesContext } from '../../../providers/entities.provider';
import './ContextToolbar.scss';
import { FlowClipboard } from './FlowClipboard/FlowClipboard';
import { FlowExportImage } from './FlowExportImage/FlowExportImage';
import { NewFlow } from './FlowType/NewFlow';
import { NewFlow } from '../EmptyState/FlowType/NewFlow';
import { FlowsMenu } from './Flows/FlowsMenu';

export const ContextToolbar: FunctionComponent = () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
import { CubesIcon as PatternFlyCubesIcon, EyeSlashIcon as PatternFlyEyeSlashIcon } from '@patternfly/react-icons';
import { FunctionComponent, useMemo } from 'react';
import { IDataTestID } from '../../../models';
import { NewFlow } from '../ContextToolbar/FlowType/NewFlow';
import { NewFlow } from './FlowType/NewFlow';

const CubesIcon: FunctionComponent = (props) => <PatternFlyCubesIcon data-testid="cubes-icon" {...props} />;
const EyeSlashIcon: FunctionComponent = (props) => <PatternFlyEyeSlashIcon data-testid="eye-slash-icon" {...props} />;
Expand Down

0 comments on commit 4a0fdaf

Please sign in to comment.