Skip to content

Commit

Permalink
Merge pull request #7257 from stopfstedt/filesaver
Browse files Browse the repository at this point in the history
  • Loading branch information
jrjohnson authored Jun 23, 2023
2 parents 0803216 + dc75c37 commit 7910235
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/components/program-year/objective-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ export default class ProgramYearObjectiveListComponent extends Component {
const resourcePath = `/programyears/${this.args.programYear.id}/downloadobjectivesmapping`;
const host = this.iliosConfig.apiHost ?? `${window.location.protocol}//${window.location.host}`;
const url = host + apiPath + resourcePath;
const { saveAs } = yield import('file-saver');

const { default: saveAs } = yield import('file-saver');
const response = yield fetch(url, {
headers: this.authHeaders,
});
Expand Down

0 comments on commit 7910235

Please sign in to comment.