OHIF-198 - Jump to thumbnail when a new displaySet is added (#1834)
* Viewport letter only in multi-viewport layout. * If SliceThickness not available print N/A * Create displaySet in local session on SR generation. * Jump to thumbnail when a new displaySet is added with the madeInClient property. * Check if scrollIntoView exists.
This commit is contained in:
1 parent
eb8f3a63f2
commit
2c11609c55
9 files changed
+113
-13
No files matched your search
@@ -1,10 +1,12 @@
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import classnames from 'classnames';
|
||||
import { useDrag } from 'react-dnd';
|
||||
|
||||
import { Icon } from '@ohif/ui';
|
||||
|
||||
const ThumbnailNoImage = ({
|
||||
displaySetInstanceUID,
|
||||
description,
|
||||
seriesDate,
|
||||
modality,
|
||||
@@ -21,7 +23,8 @@ const ThumbnailNoImage = ({
|
||||
return (
|
||||
<div
|
||||
ref={drag}
|
||||
className="flex flex-row flex-1 px-4 py-3 cursor-pointer"
|
||||
className={'flex flex-row flex-1 px-4 py-3 cursor-pointer'}
|
||||
id={`thumbnail-${displaySetInstanceUID}`}
|
||||
onClick={onClick}
|
||||
onKeyDown={onClick}
|
||||
role="button"
|
||||
|
||||
Reference in new issue
Block a user