Skip to content

Commit 87ccc28

Browse files
author
Mark Pedrotti
committed
ROX-34151: Add Reports subfolder to Components folder
1 parent c90df9a commit 87ccc28

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

ui/apps/platform/src/Containers/Vulnerabilities/ImageVulnerabilityReports/Wizard/Step1/DetailsStep.tsx renamed to ui/apps/platform/src/Components/Reports/Step/DetailsStep.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { ReactElement } from 'react';
22
import { Divider, Flex, PageSection, Title } from '@patternfly/react-core';
33

4-
// import type { DetailsType } from '../../imageVulnerabilityReports.types';
4+
// import type { DetailsType } from '../reports.types';
55

66
function DetailsStep(): ReactElement {
77
return (

ui/apps/platform/src/Containers/Vulnerabilities/ImageVulnerabilityReports/View/DetailsView.tsx renamed to ui/apps/platform/src/Components/Reports/View/DetailsView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
Title,
1010
} from '@patternfly/react-core';
1111

12-
import type { DetailsType } from '../imageVulnerabilityReports.types';
12+
import type { DetailsType } from '../reports.types';
1313

1414
export type DetailsViewProps = {
1515
headingLevel: 'h2' | 'h3';
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
export type DetailsType = {
2+
name: string;
3+
description: string;
4+
};

ui/apps/platform/src/Containers/Vulnerabilities/ImageVulnerabilityReports/imageVulnerabilityReports.types.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ import type {
88
import type { VulnerabilitySeverity } from 'types/cve.proto';
99
import type { Schedule } from 'types/schedule.proto';
1010

11-
export type DetailsType = {
12-
name: string;
13-
description: string;
14-
};
15-
1611
// TODO move final type to ReportsService.types.ts file when merged into report_service.proto file
1712

1813
type EntityScope = {

0 commit comments

Comments
 (0)