Re IDC #2919: fix popup notifications behavior (#2923)

This commit is contained in:
Davide Punzo 2022-09-12 10:25:19 +02:00 committed by GitHub
parent 80dfdcc37c
commit 47a6130fd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 4 deletions

View File

@ -67,12 +67,13 @@ export class HotkeysManager {
UINotificationService,
LoggerService,
} = this._servicesManager.services;
const message = 'Erro while setting hotkeys';
const message = 'Error while setting hotkeys';
LoggerService.error({ error, message });
UINotificationService.show({
title: 'Hotkeys Manager',
message,
type: 'error',
autoClose: false,
});
}
}

View File

@ -124,7 +124,7 @@ async function loadAndCacheDerivedDisplaySets(
title: 'DICOM Segmentation Loader',
message: error.message,
type: 'error',
autoClose: true,
autoClose: false,
});
};

View File

@ -25,7 +25,7 @@ const mapDispatchToProps = (dispatch, ownProps) => {
title: 'DICOM Segmentation Loader',
message: error.message,
type: 'error',
autoClose: true,
autoClose: false,
});
};

View File

@ -150,7 +150,7 @@ class ViewerMain extends Component {
title: 'DICOM Segmentation Loader',
message: error.message,
type: 'error',
autoClose: true,
autoClose: false,
});
};