Skip to content

Commit

Permalink
fix eslint errors and typos
Browse files Browse the repository at this point in the history
  • Loading branch information
uds5501 committed Jun 21, 2019
1 parent 2a56cb9 commit 05ff8e3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 4 additions & 4 deletions app/controllers/events/view/edit/attendee.js
Expand Up @@ -15,9 +15,9 @@ export default Controller.extend(EventWizardMixin, {
this.saveEventDataAndRedirectTo(
'events.view.index',
[]
);
);
} catch (error) {
this.notify.error(this.ln10.t(error.message));
this.notify.error(this.l10n.t(error.message));
}
},
async move(direction, data) {
Expand All @@ -26,9 +26,9 @@ export default Controller.extend(EventWizardMixin, {
this.saveEventDataAndRedirectTo(
direction === 'forwards' ? 'events.view.edit.sponsors' : 'events.view.edit.basic-details',
[]
);
);
} catch (error) {
this.notify.error(this.ln10.t(error.message));
this.notify.error(this.l10n.t(error.message));
}
}
}
Expand Down
2 changes: 0 additions & 2 deletions app/templates/components/forms/wizard/attendee-step.hbs
Expand Up @@ -90,7 +90,6 @@
</div>
{{/if}}
<div class="spacer-50"></div>

<div class="{{if device.isMobile 'mini four' 'right floated large'}} ui fields buttons">
<button class="ui three field left labeled icon button {{if isLoading 'disabled'}}" type="button" {{action 'move' 'backwards'}}>
{{t 'Previous'}}
Expand All @@ -111,5 +110,4 @@
</button>
{{/if}}
</div>

</form>

0 comments on commit 05ff8e3

Please sign in to comment.