Don't allow xls files
This commit is contained in:
parent
03be00fb75
commit
9fda13160c
|
@ -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});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue