Don't allow xls files

This commit is contained in:
mike cullerton 2021-11-16 12:21:10 -05:00
parent 03be00fb75
commit 9fda13160c
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ export class FileListComponent implements OnInit, OnChanges {
fileMetaId: fm ? fm.id : undefined, fileMetaId: fm ? fm.id : undefined,
file, file,
mode: 'local', mode: 'local',
fileTypes: [FileType.DOC, FileType.DOCX, FileType.XLSX, FileType.XLS], fileTypes: [FileType.DOC, FileType.DOCX, FileType.XLSX],
}; };
const dialogRef = this.dialog.open(OpenFileDialogComponent, {data: dialogData}); const dialogRef = this.dialog.open(OpenFileDialogComponent, {data: dialogData});