Skip to content

Commit

Permalink
replace deprecated dropdown in manage-imports
Browse files Browse the repository at this point in the history
Signed-off-by: gitdallas <[email protected]>
  • Loading branch information
gitdallas committed Sep 25, 2023
1 parent fcf3f16 commit 724c723
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
1 change: 0 additions & 1 deletion client/src/app/layout/HeaderApp/SSOMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
DropdownList,
ToolbarItem,
} from "@patternfly/react-core";
// import { Dropdown, DropdownToggle } from "@patternfly/react-core/deprecated";
import { isAuthRequired, LocalStorageKey } from "@app/Constants";
import { useHistory } from "react-router-dom";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ import { useTranslation } from "react-i18next";
import {
Button,
ButtonVariant,
DropdownItem,
Modal,
PageSection,
Popover,
ToolbarGroup,
ToolbarItem,
} from "@patternfly/react-core";
import { DropdownItem } from "@patternfly/react-core/deprecated";
import {
cellWidth,
IAction,
Expand Down Expand Up @@ -350,12 +350,10 @@ export const ManageImports: React.FC = () => {
dropdownItems={[
<DropdownItem
key="download-csv-template"
component={
<a href="/template_application_import.csv" download>
{t("actions.downloadCsvTemplate")}
</a>
}
/>,
to="/template_application_import.csv"
>
{t("actions.downloadCsvTemplate")}
</DropdownItem>,
]}
/>
</ToolbarItem>
Expand Down

0 comments on commit 724c723

Please sign in to comment.