Minor bug fixes
This commit is contained in:
parent
8a24c22647
commit
24625ba983
@ -23,8 +23,10 @@ Template.dialogNonTargetMeasurement.onCreated(() => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Update the Overall Measurement Numbers for all Measurements
|
// Update the Overall Measurement Numbers for all Measurements
|
||||||
const baseline = timepointApi.baseline();
|
|
||||||
measurementApi.sortMeasurements(baseline.timepointId);
|
// Commenting this out for now, we need the timepointApi
|
||||||
|
//const baseline = timepointApi.baseline();
|
||||||
|
//measurementApi.sortMeasurements(baseline.timepointId);
|
||||||
|
|
||||||
// Refresh the image with the measurement removed
|
// Refresh the image with the measurement removed
|
||||||
cornerstone.updateImage(instance.data.element);
|
cornerstone.updateImage(instance.data.element);
|
||||||
|
|||||||
@ -50,7 +50,7 @@ Template.measurementTableRow.events({
|
|||||||
'click .js-delete'(event, instance) {
|
'click .js-delete'(event, instance) {
|
||||||
const dialogSettings = {
|
const dialogSettings = {
|
||||||
title: 'Delete measurements',
|
title: 'Delete measurements',
|
||||||
message: 'Are you sure you want to delete the measurement among all timepoints?'
|
message: 'Are you sure you want to delete the measurement across all timepoints?'
|
||||||
};
|
};
|
||||||
|
|
||||||
OHIF.ui.showFormDialog('dialogConfirm', dialogSettings).then(formData => {
|
OHIF.ui.showFormDialog('dialogConfirm', dialogSettings).then(formData => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user