Skip to content

Commit d156e6c

Browse files
fix as per review comments
1 parent 708ff39 commit d156e6c

File tree

3 files changed

+12
-14
lines changed

3 files changed

+12
-14
lines changed

client/src/app/pages/Certificates/CertificatesPage.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,6 @@ const CertificatesPage = ({ certificates, columns }: ICertificatesPageProps) =>
232232
</div>
233233
);
234234

235-
236-
237235
const toggleGroupItems = (
238236
<ToolbarGroup variant="filter-group">
239237
<ToolbarItem>{attributeDropdown}</ToolbarItem>

client/src/app/pages/TrustRoots/components/TrustRootRow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {
1414
type MenuToggleElement,
1515
} from "@patternfly/react-core";
1616
import * as React from "react";
17-
import StatusIcon from "../../../shared-components/StatusIcon";
17+
import StatusIcon from "@app/shared-components/StatusIcon";
1818
import CodeBranchIcon from "@patternfly/react-icons/dist/esm/icons/code-branch-icon";
1919
import CubeIcon from "@patternfly/react-icons/dist/esm/icons/cube-icon";
2020
import { CalendarAltIcon, FileAltIcon, EllipsisVIcon } from "@patternfly/react-icons";
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
import { SearchInput } from "@patternfly/react-core";
22

33
interface SearchInputFieldProps {
4-
searchValue: string;
5-
onSearchChange: (value: string) => void;
4+
searchValue: string;
5+
onSearchChange: (value: string) => void;
66
}
77

88
// Set up identifier search input
9-
export const SearchInputField: React.FC<SearchInputFieldProps> = ({ searchValue, onSearchChange }) =>
10-
<SearchInput
11-
placeholder="Filter by text"
12-
value={searchValue}
13-
onChange={(_event, value) => onSearchChange(value)}
14-
onClear={() => onSearchChange("")}
15-
/>
16-
9+
export const SearchInputField: React.FC<SearchInputFieldProps> = ({ searchValue, onSearchChange }) => (
10+
<SearchInput
11+
placeholder="Filter by text"
12+
value={searchValue}
13+
onChange={(_event, value) => onSearchChange(value)}
14+
onClear={() => onSearchChange("")}
15+
/>
16+
);
1717

1818
// Set up date filter
19-
export const PublishedOnInput = () => <>Date range input here</>;
19+
export const PublishedOnInput = () => <>Date range input here</>;

0 commit comments

Comments
 (0)