mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-11-04 15:15:42 +00:00 
			
		
		
		
	Tweak page titles
This commit is contained in:
		@@ -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}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user