feat(sort): custom series sort in study panel (#4214)
This commit is contained in:
1 parent
6f93449149
commit
a433d406e2
17 files changed
+211
-15
No files matched your search
@@ -7,6 +7,7 @@ import LegacyButtonGroup from '../LegacyButtonGroup';
|
||||
import LegacyButton from '../LegacyButton';
|
||||
import ThumbnailList from '../ThumbnailList';
|
||||
import { StringNumber } from '../../types';
|
||||
import StudyBrowserSort from '../StudyBrowserSort';
|
||||
|
||||
const getTrackedSeries = displaySets => {
|
||||
let trackedSeries = 0;
|
||||
@@ -73,7 +74,7 @@ const StudyBrowser = ({
|
||||
return (
|
||||
<React.Fragment>
|
||||
<div
|
||||
className="w-100 border-secondary-light bg-primary-dark flex h-16 flex-row items-center justify-center border-b p-4"
|
||||
className="w-100 border-secondary-light bg-primary-dark flex h-20 flex-col items-center justify-center gap-2 border-b p-4"
|
||||
data-cy={'studyBrowser-panel'}
|
||||
>
|
||||
{/* TODO Revisit design of LegacyButtonGroup later - for now use LegacyButton for its children.*/}
|
||||
@@ -111,6 +112,9 @@ const StudyBrowser = ({
|
||||
);
|
||||
})}
|
||||
</LegacyButtonGroup>
|
||||
{window.config.experimentalStudyBrowserSort && (
|
||||
<StudyBrowserSort servicesManager={servicesManager} />
|
||||
)}
|
||||
</div>
|
||||
<div className="ohif-scrollbar invisible-scrollbar flex flex-1 flex-col overflow-auto">
|
||||
{getTabContent()}
|
||||
|
||||
Reference in new issue
Block a user