From b6f698f4ebf23f72bcf7cb46587bd587a0d49f30 Mon Sep 17 00:00:00 2001 From: Raitis Veinbahs Date: Tue, 15 Oct 2024 12:22:41 +0300 Subject: [PATCH] feat: Allow JSON files as text files (DEV-4222) (#1854) Co-authored-by: Marcin Procyk --- .../shared/app-resource-properties/src/lib/upload.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/vre/shared/app-resource-properties/src/lib/upload.component.ts b/libs/vre/shared/app-resource-properties/src/lib/upload.component.ts index af374d8867..89951797ad 100644 --- a/libs/vre/shared/app-resource-properties/src/lib/upload.component.ts +++ b/libs/vre/shared/app-resource-properties/src/lib/upload.component.ts @@ -77,7 +77,7 @@ export class UploadComponent { [Constants.HasMovingImageFileValue]: ['mp4'], [Constants.HasAudioFileValue]: ['mp3', 'wav'], [Constants.HasDocumentFileValue]: ['doc', 'docx', 'pdf', 'ppt', 'pptx', 'xls', 'xlsx'], - [Constants.HasTextFileValue]: ['csv', 'odd', 'rng', 'txt', 'xml', 'xsd', 'xsl'], + [Constants.HasTextFileValue]: ['csv', 'json', 'odd', 'rng', 'txt', 'xml', 'xsd', 'xsl'], [Constants.HasArchiveFileValue]: ['7z', 'gz', 'gzip', 'tar', 'tgz', 'z', 'zip'], [Constants.HasStillImageFileValue]: ['jp2', 'jpg', 'jpeg', 'png', 'tif', 'tiff'], } as const;