Skip to content

Commit

Permalink
storage: Hide breadcrumbs on Overview
Browse files Browse the repository at this point in the history
  • Loading branch information
mvollmer committed Jan 9, 2024
1 parent 92ab4f8 commit f26bfa3
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions pkg/storaged/pages.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -814,12 +814,14 @@ export const StoragePage = ({ location, plot_state }) => {

return (
<Page id="storage">
<PageBreadcrumb stickyOnBreakpoint={{ default: "top" }}>
<Breadcrumb>
{ parent_crumbs }
<BreadcrumbItem isActive>{page_display_name(page)}</BreadcrumbItem>
</Breadcrumb>
</PageBreadcrumb>
{ parent_crumbs.length > 0 &&
<PageBreadcrumb stickyOnBreakpoint={{ default: "top" }}>
<Breadcrumb>
{ parent_crumbs }
<BreadcrumbItem isActive>{page_display_name(page)}</BreadcrumbItem>
</Breadcrumb>
</PageBreadcrumb>
}
<PageSection isFilled={false}>
<Stack hasGutter>
<MultipathAlert client={client} />
Expand Down

0 comments on commit f26bfa3

Please sign in to comment.