From cd7feddfdbc00f6e0da931c5373c5477815654ee Mon Sep 17 00:00:00 2001 From: swayangjit Date: Mon, 13 Aug 2018 12:06:54 +0530 Subject: [PATCH] Issue #SB-5427 fix : Enabled change role in offline scenario. --- src/pages/profile/guest-profile/guest-profile.ts | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/src/pages/profile/guest-profile/guest-profile.ts b/src/pages/profile/guest-profile/guest-profile.ts index b9c9efdfd..41b9dc13a 100644 --- a/src/pages/profile/guest-profile/guest-profile.ts +++ b/src/pages/profile/guest-profile/guest-profile.ts @@ -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) {