2
0
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:
Oliver Walters
2025-04-19 11:41:14 +00:00
parent 58664eaeb4
commit 7e3d89cf31
2 changed files with 4 additions and 4 deletions

View File

@ -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={() => {

View File

@ -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}