From bfb3a98fac582f104c6d9b8b7242ea2cbb650b91 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 14 Sep 2017 17:06:31 +0200 Subject: Remove ng2 file upload module Unmaintained and we don't need it anymore with httpclient --- client/src/app/shared/forms/form-validators/video.ts | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'client/src/app/shared/forms/form-validators') diff --git a/client/src/app/shared/forms/form-validators/video.ts b/client/src/app/shared/forms/form-validators/video.ts index 6542cf8f6..32b1f1c2e 100644 --- a/client/src/app/shared/forms/form-validators/video.ts +++ b/client/src/app/shared/forms/form-validators/video.ts @@ -44,3 +44,10 @@ export const VIDEO_TAGS = { 'maxlength': 'A tag should be less than 10 characters long.' } } + +export const VIDEO_FILE = { + VALIDATORS: [ Validators.required ], + MESSAGES: { + 'required': 'Video file is required.' + } +} -- cgit v1.2.3