Overriding getImageId in OHIFInstanceMetadata and fixing OHIFViewer to add display sets properly
This commit is contained in:
1 parent
6973cd4ec8
commit
20efd80c01
2 files changed
+16
No files matched your search
@@ -49,6 +49,16 @@ export class OHIFInstanceMetadata extends InstanceMetadata {
|
||||
return (propertyName in data);
|
||||
}
|
||||
|
||||
// Override
|
||||
getImageId() {
|
||||
// If _imageID is not cached, create it
|
||||
if (this._imageId === null) {
|
||||
this._imageId = Viewerbase.getImageId(this.getData());
|
||||
}
|
||||
|
||||
return this._imageId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Static methods
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user