fix(dicom-video): Update get direct func for dicom json to use url if present and fix config argument (#4017)

This commit is contained in:
Igor Octaviano authored and GitHub committed 2024-04-10 10:55:19 -04:00
1 parent be9bb06565
commit 4f99244d86
4 files changed
+10 -3

No files matched your search

@@ -6,7 +6,7 @@ import { utils } from '@ohif/core';
const { formatDate, formatPN } = utils;
const formatWithEllipsis = (str, maxLength) => {
if (str.length > maxLength) {
if (str?.length > maxLength) {
return str.substring(0, maxLength) + '...';
}
return str;