Skip to content

Commit

Permalink
Improve requirement assessment display title
Browse files Browse the repository at this point in the history
  • Loading branch information
nas-tabchiche committed Feb 13, 2024
1 parent 44cbd49 commit 6f40dd1
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,13 @@
}
const title =
data.compliance_assessment.name +
' - ' +
data.parent.display_short +
': ' +
(data.parent.display_short ? data.parent.display_short + ': ' : '') +
data.requirement.display_short;
breadcrumbObject.set({ id: data.requirementAssessment.id, name: title, email: '' });
breadcrumbObject.set({
id: data.requirementAssessment.id,
name: title ?? 'Requirement assessment',
email: ''
});
const schema = RequirementAssessmentSchema;
Expand Down

0 comments on commit 6f40dd1

Please sign in to comment.