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

This commit is contained in:
Joe Boccanfuso 2026-01-08 14:35:45 -05:00 committed by GitHub
parent c34ede8570
commit 6429a5518a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 = [];