[OHIF-309] - Users should be able to delete an SR from the side panel when the behavior is supported by the data source (#1952)
* Remove trailing zeroes from patient age * WIP reject + remove displaySet. * ohif-316: Update DICOM SR thumbnail design to include a delete action (#1948) * add "supportsReject" to netlify config Co-authored-by: Igor Octaviano <igoroctaviano@gmail.com> Co-authored-by: Danny Brown <danny.ri.brown@gmail.com>
This commit is contained in:
15 files changed
+236
-41
No files matched your search
@@ -24,6 +24,8 @@ const ThumbnailList = ({
|
||||
seriesDate,
|
||||
viewportIdentificator,
|
||||
isTracked,
|
||||
canReject,
|
||||
onReject,
|
||||
imageSrc,
|
||||
imageAltText,
|
||||
}) => {
|
||||
@@ -82,6 +84,8 @@ const ThumbnailList = ({
|
||||
modalityTooltip={_getModalityTooltip(modality)}
|
||||
seriesDate={seriesDate}
|
||||
description={description}
|
||||
canReject={canReject}
|
||||
onReject={onReject}
|
||||
onClick={() => onThumbnailClick(displaySetInstanceUID)}
|
||||
onDoubleClick={() =>
|
||||
onThumbnailDoubleClick(displaySetInstanceUID)
|
||||
@@ -113,7 +117,10 @@ ThumbnailList.propTypes = {
|
||||
'thumbnailTracked',
|
||||
'thumbnailNoImage',
|
||||
]).isRequired,
|
||||
viewportIdentificator: PropTypes.oneOfType([PropTypes.string, PropTypes.array]),
|
||||
viewportIdentificator: PropTypes.oneOfType([
|
||||
PropTypes.string,
|
||||
PropTypes.array,
|
||||
]),
|
||||
isTracked: PropTypes.bool,
|
||||
/**
|
||||
* Data the thumbnail should expose to a receiving drop target. Use a matching
|
||||
|
||||
Reference in new issue
Block a user