diff --git a/extensions/measurement-tracking/src/panels/PanelStudyBrowserTracking/PanelStudyBrowserTracking.jsx b/extensions/measurement-tracking/src/panels/PanelStudyBrowserTracking/PanelStudyBrowserTracking.jsx
index 6c14c6c16..dac70ce37 100644
--- a/extensions/measurement-tracking/src/panels/PanelStudyBrowserTracking/PanelStudyBrowserTracking.jsx
+++ b/extensions/measurement-tracking/src/panels/PanelStudyBrowserTracking/PanelStudyBrowserTracking.jsx
@@ -434,21 +434,21 @@ function _mapDisplaySets(
showOverlay: true,
content: Dialog,
contentProps: {
- title: 'Reject Report',
+ title: 'Delete Report',
body: () => (
-
This is a destructive action.
-
Are you sure you want to continue?
+
Are you sure you want to delete this report?
+
This action cannot be undone.
),
actions: [
{ id: 'cancel', text: 'Cancel', type: 'secondary' },
- { id: 'save', text: 'Save', type: 'primary' },
+ { id: 'yes', text: 'Yes', type: 'primary' },
],
onClose: () => UIDialogService.dismiss({ id: 'ds-reject-sr' }),
onSubmit: async ({ action }) => {
switch (action.id) {
- case 'save':
+ case 'yes':
try {
await dataSource.reject.series(
ds.StudyInstanceUID,
@@ -457,15 +457,15 @@ function _mapDisplaySets(
DisplaySetService.deleteDisplaySet(displaySetInstanceUID);
UIDialogService.dismiss({ id: 'ds-reject-sr' });
UINotificationService.show({
- title: 'Reject Report',
- message: 'Report rejected successfully',
+ title: 'Delete Report',
+ message: 'Report deleted successfully',
type: 'success',
});
} catch (error) {
UIDialogService.dismiss({ id: 'ds-reject-sr' });
UINotificationService.show({
- title: 'Reject Report',
- message: 'Failed to reject report',
+ title: 'Delete Report',
+ message: 'Failed to delete report',
type: 'error',
});
}