fixed wifi check

mohemm-wifi-feature
umasoodch 5 years ago
parent 33d55363bb
commit 839f752a58

@ -93,11 +93,13 @@
"cordova-plugin-statusbar": "^2.4.3", "cordova-plugin-statusbar": "^2.4.3",
"cordova-plugin-themeablebrowser": "^0.2.18", "cordova-plugin-themeablebrowser": "^0.2.18",
"cordova-plugin-whitelist": "^1.3.4", "cordova-plugin-whitelist": "^1.3.4",
"cordova-plugin-wifiwizard2": "^3.1.1",
"cordova-sqlite-storage": "^3.4.0", "cordova-sqlite-storage": "^3.4.0",
"cordova-support-google-services": "^1.3.2", "cordova-support-google-services": "^1.3.2",
"cordova.plugins.diagnostic": "^5.0.1", "cordova.plugins.diagnostic": "^5.0.1",
"core-js": "^2.5.4", "core-js": "^2.5.4",
"date-fns": "^1.30.1", "date-fns": "^1.30.1",
"es6-promise-plugin": "^4.1.0",
"ionic2-calendar": "^0.5.8", "ionic2-calendar": "^0.5.8",
"ng-circle-progress": "^1.5.1", "ng-circle-progress": "^1.5.1",
"ng2-file-upload": "^1.3.0", "ng2-file-upload": "^1.3.0",
@ -218,4 +220,4 @@
"ios" "ios"
] ]
} }
} }

@ -100,9 +100,11 @@ export class AttendanceOptionsComponent implements OnInit {
} }
if ( if (
servicePrivilage.Previlege && servicePrivilage.Previlege &&
servicePrivilage.ServiceName === "enableWifi" servicePrivilage.ServiceName === "enableWIFI"
) { ) {
this.serviceEnableWifi = true; this.serviceEnableWifi = true;
} else {
this.serviceEnableWifi = true;
} }
} }
} }

Loading…
Cancel
Save