Skip to content

Commit 3ee3bce

Browse files
author
Hieu Lam - TMA
authored
fix-9018: Error when trying to export attendees (#9021)
* fix-9018: Error when trying to export attendees * fix-9018: Error when trying to export attendees
1 parent 3a36d4f commit 3ee3bce

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

app/components/public/session-item.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export default class SessionItem extends Component {
2929
}
3030

3131
@action
32-
async setUpComponent(){
32+
async setUpComponent() {
3333
const { speakers } = await this.args.session;
3434
const sortedSpeakers = {};
3535
const sessionId = this.args.session.id;

app/controllers/events/view/tickets/attendees.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export default class AttendeesController extends Controller {
3232
window.location = exportJobStatus.result.download_url;
3333
this.notify.success(this.l10n.t('Download Ready'));
3434
} else if (exportJobStatus.state === 'WAITING') {
35-
this.requestLoop(exportJobInfo);
35+
this.requestLoop(exportJobInfo, mode);
3636
this.notify.alert(this.l10n.t('Task is going on.'));
3737
} else {
3838
this.notify.error(mode.toUpperCase() + ' ' + this.l10n.t('Export has failed.'));

app/controllers/events/view/tickets/orders.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export default class OrdersController extends Controller {
3232
window.location = exportJobStatus.result.download_url;
3333
this.notify.success(this.l10n.t('Download Ready'));
3434
} else if (exportJobStatus.state === 'WAITING') {
35-
this.requestLoop(exportJobInfo);
35+
this.requestLoop(exportJobInfo, mode);
3636
this.notify.alert(this.l10n.t('Task is going on.'));
3737
} else {
3838
this.notify.error(mode.toUpperCase() + ' ' + this.l10n.t('Export has failed.'));

0 commit comments

Comments
 (0)