Skip to content
Permalink
Browse files
fix(archive representation): a resource with an archive representatio…
…n now loads correctly again (#630)
  • Loading branch information
mdelez committed Jan 11, 2022
1 parent df7159e commit 299ecf97c684f5ce74f7a477ef507b33c8624cac
Showing 1 changed file with 2 additions and 1 deletion.
@@ -490,7 +490,8 @@ export class ResourceComponent implements OnInit, OnChanges, OnDestroy {
// request incoming regions --> TODO: add case to get incoming sequences in case of video and audio
if (resource.res.properties[Constants.HasStillImageFileValue] ||
resource.res.properties[Constants.HasDocumentFileValue] ||
resource.res.properties[Constants.HasAudioFileValue]) {
resource.res.properties[Constants.HasAudioFileValue] ||
resource.res.properties[Constants.HasArchiveFileValue]) {
// --> TODO: check if resources is a StillImageRepresentation using the ontology responder (support for subclass relations required)
// the resource is a StillImageRepresentation, check if there are regions pointing to it

0 comments on commit 299ecf9

Please sign in to comment.