Skip to content

Commit

Permalink
account route
Browse files Browse the repository at this point in the history
  • Loading branch information
bkawk committed Nov 21, 2018
1 parent 7215606 commit 943042c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/routes/dashboard-route.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ class DasboardRoute extends PolymerElement {
<password-route name="password"></password-route>
<review-route name="review"></review-route>
<status-route name="status"></status-route>
<!-- <account-route name="account"></account-route>
<sharedrop-route name="sharedrop"></sharedrop-route> -->
<account-route name="account"></account-route>
<!-- <sharedrop-route name="sharedrop"></sharedrop-route> -->
</iron-pages>
`;
Expand Down Expand Up @@ -57,7 +57,7 @@ class DasboardRoute extends PolymerElement {
_routePageChanged(page) {
if (!page) {
this.page = 'profile';
} else if (['profile', 'password', 'review', 'status'].indexOf(page) !== -1) {
} else if (['profile', 'account', 'password', 'review', 'status'].indexOf(page) !== -1) {
this.page = page;
} else {
this.page = 'error';
Expand All @@ -75,9 +75,9 @@ class DasboardRoute extends PolymerElement {
case 'status':
import('./dashboard/status-route.js');
break;
// case 'account':
// import('./dashboard/account-route.js');
// break;
case 'account':
import('./dashboard/account-route.js');
break;
// case 'sharedrop':
// import('./dashboard/sharedrop-route.js');
// break;
Expand Down

0 comments on commit 943042c

Please sign in to comment.