Skip to content

Commit 8022229

Browse files
authored
Merge pull request #707 from TechnologyEnhancedLearning/Develop/Fixes/TD-4256-Admin_LandingPage_Edit
WMV file included in the admin UI Information page also
2 parents 642bdde + 69928eb commit 8022229

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

AdminUI/LearningHub.Nhs.AdminUI/Scripts/vuesrc/content/upload/fileValidation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const file_size_validation = (value: any) => {
88
export const file_extension_validation = (value: any) => {
99
if (!value) { return true; }
1010
let fileExtension = value.name.split(".").pop();
11-
let fileType = ['mp4', 'avi', 'm4v', 'mov', 'mkv', 'mpg', 'm2v', 'vob'].find(ext => ext == fileExtension);
11+
let fileType = ['mp4', 'avi', 'm4v', 'mov', 'mkv', 'mpg', 'm2v', 'vob','wmv'].find(ext => ext == fileExtension);
1212
return fileType != undefined;
1313
};
1414
export const transcriptfile_extension_validation = (value: any) => {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
update resources.FileType set NotAllowed =1 where Extension='webm'
1+
update resources.FileType set NotAllowed =0 where Extension='WMV'

0 commit comments

Comments
 (0)