fix(DicomTagBrowser): Check for null metadata. (#5696)

This commit is contained in:
Joe Boccanfuso authored and GitHub committed 2026-01-08 14:35:45 -05:00
1 parent c34ede8570
commit 6429a5518a
1 file changed
+4
@@ -309,6 +309,10 @@ function getSortedTags(metadata) {
function getRows(metadata, depth = 0) {
// Tag, Type, Value, Keyword
if (!metadata) {
return [];
}
const keywords = Object.keys(metadata);
const rows = [];