From 299ecf97c684f5ce74f7a477ef507b33c8624cac Mon Sep 17 00:00:00 2001 From: mdelez <60604010+mdelez@users.noreply.github.com> Date: Tue, 11 Jan 2022 13:13:06 +0100 Subject: [PATCH] fix(archive representation): a resource with an archive representation now loads correctly again (#630) --- src/app/workspace/resource/resource.component.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/workspace/resource/resource.component.ts b/src/app/workspace/resource/resource.component.ts index 0e35674b22..11a72f6563 100644 --- a/src/app/workspace/resource/resource.component.ts +++ b/src/app/workspace/resource/resource.component.ts @@ -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