review notification logic and fix minor issue.
This commit is contained in:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user