Skip to content

Commit

Permalink
fix(archive representation): a resource with an archive representatio…
Browse files Browse the repository at this point in the history
…n now loads correctly again (#630)
  • Loading branch information
mdelez committed Jan 11, 2022
1 parent df7159e commit 299ecf9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/workspace/resource/resource.component.ts
Expand Up @@ -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

Expand Down

0 comments on commit 299ecf9

Please sign in to comment.