fix(icons): Add Clipboard icon and update MetadataProvider for null checks (#4615)

This commit is contained in:
Alireza authored and GitHub committed 2024-12-18 13:24:42 -05:00
1 parent 0fc89c3bb6
commit 93d7076901
3 files changed
+19 -1

No files matched your search

@@ -200,7 +200,7 @@ class MetadataProvider {
break;
case WADO_IMAGE_LOADER_TAGS.VOI_LUT_MODULE:
const { WindowCenter, WindowWidth, VOILUTFunction } = instance;
if (WindowCenter === undefined || WindowWidth === undefined) {
if (WindowCenter == null || WindowWidth == null) {
return;
}
const windowCenter = Array.isArray(WindowCenter) ? WindowCenter : [WindowCenter];