Skip to content
This repository has been archived by the owner on Oct 21, 2020. It is now read-only.

Commit

Permalink
fix(send): toggle isExpanded during route activation/deactivation
Browse files Browse the repository at this point in the history
  • Loading branch information
devinus committed Feb 20, 2019
1 parent fb15074 commit 67512b6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/wallets/overview/accounts/send/route.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -27,10 +27,14 @@ export default class WalletsOverviewAccountsRoute extends Route {
}); });
} }


afterModel() { activate() {
this.controllerFor('wallets.overview').set('isExpanded', true); this.controllerFor('wallets.overview').set('isExpanded', true);
} }


deactivate() {
this.controllerFor('wallets.overview').set('isExpanded', false);
}

@action @action
changeSource(source) { changeSource(source) {
return this.transitionTo(this.routeName, source); return this.transitionTo(this.routeName, source);
Expand Down

0 comments on commit 67512b6

Please sign in to comment.