Skip to content

Commit b4652d8

Browse files
[PRMP-1177] Fix PCSE remove record title
1 parent a78adeb commit b4652d8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/src/components/blocks/_delete/deleteSubmitStage/DeleteSubmitStage.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,9 @@ const DeleteSubmitStageIndexView = ({
116116
}
117117
};
118118

119-
const pageTitle = `You are removing the ${getDocumentTypeLabel(docType) ?? 'records'} of`;
119+
const recordLabel = getDocumentTypeLabel(docType);
120+
121+
const pageTitle = `You are removing the ${recordLabel ? recordLabel : 'records'} of`;
120122
useTitle({ pageTitle });
121123

122124
return (

0 commit comments

Comments
 (0)