mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-16 20:15:44 +00:00
Tweak page titles
This commit is contained in:
@ -342,8 +342,8 @@ export default function CategoryDetail() {
|
|||||||
selectedId={category?.pk}
|
selectedId={category?.pk}
|
||||||
/>
|
/>
|
||||||
<PageDetail
|
<PageDetail
|
||||||
title={t`Part Category`}
|
title={category?.name ?? t`Part Category`}
|
||||||
subtitle={category?.name}
|
subtitle={category?.description}
|
||||||
icon={category?.icon && <ApiIcon name={category?.icon} />}
|
icon={category?.icon && <ApiIcon name={category?.icon} />}
|
||||||
breadcrumbs={breadcrumbs}
|
breadcrumbs={breadcrumbs}
|
||||||
breadcrumbAction={() => {
|
breadcrumbAction={() => {
|
||||||
|
@ -390,8 +390,8 @@ export default function Stock() {
|
|||||||
selectedId={location?.pk}
|
selectedId={location?.pk}
|
||||||
/>
|
/>
|
||||||
<PageDetail
|
<PageDetail
|
||||||
title={t`Stock Items`}
|
title={location?.name ?? t`Stock Location`}
|
||||||
subtitle={location?.name}
|
subtitle={location?.description}
|
||||||
icon={location?.icon && <ApiIcon name={location?.icon} />}
|
icon={location?.icon && <ApiIcon name={location?.icon} />}
|
||||||
actions={locationActions}
|
actions={locationActions}
|
||||||
editAction={editLocation.open}
|
editAction={editLocation.open}
|
||||||
|
Reference in New Issue
Block a user