Skip to content

Commit

Permalink
fix(web): add back button to iSCSI page
Browse files Browse the repository at this point in the history
  • Loading branch information
joseivanlopez committed Jan 10, 2025
1 parent f04b987 commit 1a218cd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions web/src/components/storage/ISCSIPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import { Grid, GridItem } from "@patternfly/react-core";
import React from "react";
import { Page } from "~/components/core";
import { InitiatorSection, TargetsSection } from "~/components/storage/iscsi";
import { STORAGE as PATHS } from "~/routes/paths";
import { _ } from "~/i18n";

export default function ISCSIPage() {
Expand All @@ -42,6 +43,11 @@ export default function ISCSIPage() {
</GridItem>
</Grid>
</Page.Content>
<Page.Actions>
<Page.Action variant="secondary" navigateTo={PATHS.targetDevice}>
{_("Back to device selection")}
</Page.Action>
</Page.Actions>
</Page>
);
}

0 comments on commit 1a218cd

Please sign in to comment.