Skip to content
This repository has been archived by the owner on May 1, 2023. It is now read-only.

Commit

Permalink
fix(token-dialog): display token button when it fails
Browse files Browse the repository at this point in the history
If the token dialog failed, due to the the token variable was filled, the "Token" button was hidden: need to clear the token field.
  • Loading branch information
albertosantini committed Jan 8, 2018
1 parent 5cd9350 commit d327789
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export class TokenDialogController {
});
}).catch(err => {
this.state.tokenModalIsOpen = false;
this.state.tokenInfo.token = "";
ToastsService.addToast(err);
});
}
Expand Down

0 comments on commit d327789

Please sign in to comment.