review notification logic and fix minor issue.
All checks were successful
Production — tag build, push, deploy / build-and-push (push) Successful in 39m57s
Production — tag build, push, deploy / deploy (push) Successful in 13m26s

This commit is contained in:
2026-09-07 23:18:00 +03:30
parent 880809fdbe
commit 62d5d94121
5 changed files with 12 additions and 6 deletions

View File

@@ -77,8 +77,13 @@ export function notificationContextLine(
break;
case 'CASE_COMPLETED':
if (patientName) parts.push(patientName);
if (clinicName) parts.push(clinicName);
else if (labName) parts.push(labName);
if (item.href.startsWith('/treatment')) {
if (labName) parts.push(labName);
} else if (clinicName) {
parts.push(clinicName);
} else if (labName) {
parts.push(labName);
}
if (prosthesisLabel) parts.push(prosthesisLabel);
break;
case 'LAB_COMMENT_CLINIC':