Change audit name display on compliance

Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
Sacha Al Himdani
2026-03-03 13:01:51 +01:00
parent 9111a3dbc5
commit 3c760bfc51

View File

@@ -129,13 +129,7 @@ export function AuditRow(props: { audit: AuditRowFragment$key }) {
<div className="text-sm border border-border-solid -mt-px flex gap-3 flex-col md:flex-row md:justify-between px-6 py-3">
<div className="flex items-center gap-2">
<IconMedal size={16} className="flex-none text-txt-tertiary" />
{audit.framework.name}
{audit.name && (
<>
{" "}
<em>{audit.name}</em>
</>
)}
{audit.name ?? audit.framework.name}
</div>
{audit.report && audit.report.isUserAuthorized
? (