Skip to content

Commit

Permalink
Added accept option to openFile for .agq files only.
Browse files Browse the repository at this point in the history
  • Loading branch information
imolorhe committed Feb 4, 2018
1 parent f6203cd commit 67d5982
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/effects/windows.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export class WindowsEffects {
importWindow$: Observable<Action> = this.actions$
.ofType(windowActions.IMPORT_WINDOW)
.switchMap(action => {
openFile().then((data: string) => {
openFile({ accept: '.agq' }).then((data: string) => {
this.windowService.importWindowData(data);
});
return Observable.empty();
Expand Down

0 comments on commit 67d5982

Please sign in to comment.