Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Commit

Permalink
Issue #SB-5427 fix : Enabled change role in offline scenario.
Browse files Browse the repository at this point in the history
  • Loading branch information
swayangjit committed Aug 13, 2018
1 parent 95e598a commit cd7fedd
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions src/pages/profile/guest-profile/guest-profile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,14 +246,9 @@ export class GuestProfilePage {
*
*/
goToRoles() {
if (!this.isNetworkAvailable) {
this.showNetworkWarning();
}
else {
this.navCtrl.push(UserTypeSelectionPage, {
profile: this.profile
})
}
this.navCtrl.push(UserTypeSelectionPage, {
profile: this.profile
});
}

buttonClick(isNetAvailable) {
Expand Down

0 comments on commit cd7fedd

Please sign in to comment.