Merge pull request #1823 from OHIF/fix/minor-defects

fix: sort number of instances | format date in study panel
This commit is contained in:
Danny Brown authored and GitHub committed 2020-06-29 12:45:56 -04:00
commit 0594525301
9 files changed
+51 -18

No files matched your search

@@ -21,13 +21,21 @@ const InputLabelWrapper = ({
className,
children,
}) => {
const onClickHandler = e => {
if (!isSortable) {
return;
}
onLabelClick(e);
};
return (
<label className={classnames(baseLabelClassName, className)}>
<span
role="button"
className={spanClassName}
onClick={onLabelClick}
onKeyDown={onLabelClick}
onClick={onClickHandler}
onKeyDown={onClickHandler}
tabIndex="0"
>
{label}