feat(filters): save worklist query filters to session storage so that they persist between navigation to the viewer and back (#3749)

Co-authored-by: ladeirarodolfo <39910206+ladeirarodolfo@users.noreply.github.com>
This commit is contained in:
Joe Boccanfusoandladeirarodolfo authored and GitHub committed 2023-10-30 10:47:43 -04:00
1 parent db395852b6
commit 2a15ef0e44
13 files changed
+322 -9

No files matched your search

@@ -7,10 +7,13 @@ import Icon from '../Icon';
const StudyListTableRow = props => {
const { tableData } = props;
const { row, expandedContent, onClickRow, isExpanded } = tableData;
const { row, expandedContent, onClickRow, isExpanded, dataCY } = tableData;
return (
<>
<tr className="select-none">
<tr
className="select-none"
data-cy={dataCY}
>
<td
className={classnames('border-0 p-0', {
'border-secondary-light bg-primary-dark border-b': isExpanded,
@@ -104,6 +107,7 @@ StudyListTableRow.propTypes = {
expandedContent: PropTypes.node.isRequired,
onClickRow: PropTypes.func.isRequired,
isExpanded: PropTypes.bool.isRequired,
dataCY: PropTypes.string,
}),
};