Skip to content

Commit

Permalink
display metadata process names
Browse files Browse the repository at this point in the history
  • Loading branch information
Joosakur committed Feb 23, 2025
1 parent cb44dc1 commit 4eeda95
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,14 @@ export default React.memo(function MetadataSection({
label: i18n.metadata.processNumber,
value: metadata.process.processNumber
},
...(metadata.processName
? [
{
label: i18n.metadata.processName,
value: metadata.processName
}
]
: []),
{
label: i18n.metadata.organization,
value: metadata.process.organization
Expand Down
1 change: 1 addition & 0 deletions frontend/src/lib-common/generated/api-types/process.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ export type DocumentOrigin =
export interface ProcessMetadata {
primaryDocument: DocumentMetadata
process: ArchivedProcess
processName: string | null
secondaryDocuments: DocumentMetadata[]
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5142,6 +5142,7 @@ export const fi = {
title: 'Arkistoitava metadata',
notFound: 'Asiakirjalle ei ole arkistoitavaa metadataa',
processNumber: 'Asianumero',
processName: 'Asiaprosessi',
organization: 'Organisaatio',
archiveDurationMonths: 'Arkistointiaika',
primaryDocument: 'Ensisijainen asiakirja',
Expand Down

0 comments on commit 4eeda95

Please sign in to comment.