From 4ade17f86e91d28b9a751e63b4d6480dfa1d5939 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Kilchenmann?= Date: Tue, 13 Jul 2021 11:30:57 +0200 Subject: [PATCH] chore(resource): hide file value in properties (DSP-1261) (#484) --- .../resource/properties/properties.component.html | 8 +++++++- .../workspace/resource/properties/properties.component.ts | 8 ++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/src/app/workspace/resource/properties/properties.component.html b/src/app/workspace/resource/properties/properties.component.html index 14574ff46a..cd1f33495b 100644 --- a/src/app/workspace/resource/properties/properties.component.html +++ b/src/app/workspace/resource/properties/properties.component.html @@ -76,7 +76,13 @@

-
diff --git a/src/app/workspace/resource/properties/properties.component.ts b/src/app/workspace/resource/properties/properties.component.ts index 135fdbf7a0..7b12d18bc9 100644 --- a/src/app/workspace/resource/properties/properties.component.ts +++ b/src/app/workspace/resource/properties/properties.component.ts @@ -82,6 +82,14 @@ export class PropertiesComponent implements OnInit, OnChanges, OnDestroy { valueOperationEventSubscriptions: Subscription[] = []; // array of ValueOperationEvent subscriptions + representationConstants = { + 'stillImage': Constants.HasStillImageFileValue, + 'movingImage': Constants.HasMovingImageFileValue, + 'audio': Constants.HasAudioFileValue, + 'document': Constants.HasDocumentFileValue, + 'text': Constants.HasTextFileValue + }; + project: ReadProject; user: ReadUser;