Tweak page titles
This commit is contained in:
parent
58664eaeb4
commit
7e3d89cf31
|
|
@ -342,8 +342,8 @@ export default function CategoryDetail() {
|
|||
selectedId={category?.pk}
|
||||
/>
|
||||
<PageDetail
|
||||
title={t`Part Category`}
|
||||
subtitle={category?.name}
|
||||
title={category?.name ?? t`Part Category`}
|
||||
subtitle={category?.description}
|
||||
icon={category?.icon && <ApiIcon name={category?.icon} />}
|
||||
breadcrumbs={breadcrumbs}
|
||||
breadcrumbAction={() => {
|
||||
|
|
|
|||
|
|
@ -390,8 +390,8 @@ export default function Stock() {
|
|||
selectedId={location?.pk}
|
||||
/>
|
||||
<PageDetail
|
||||
title={t`Stock Items`}
|
||||
subtitle={location?.name}
|
||||
title={location?.name ?? t`Stock Location`}
|
||||
subtitle={location?.description}
|
||||
icon={location?.icon && <ApiIcon name={location?.icon} />}
|
||||
actions={locationActions}
|
||||
editAction={editLocation.open}
|
||||
|
|
|
|||
Loading…
Reference in New Issue