Merge pull request #119 from sartography/xls-issue-540

Don't allow xls files #540
This commit is contained in:
Dan Funk 2021-11-30 11:23:08 -05:00 committed by GitHub
commit 38806cbf99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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,
file,
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});