fix(DicomTagBrowser): Check for null metadata. (#5696)
This commit is contained in:
parent
c34ede8570
commit
6429a5518a
@ -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 = [];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user