Fairoj : offline complete check issue and pin page is enabled
This commit is contained in:
parent
0d121f9fa3
commit
3f93663858
@ -68,7 +68,7 @@ export class MyApp {
|
|||||||
this.shared.getAccessToken().then(()=>{
|
this.shared.getAccessToken().then(()=>{
|
||||||
this.getuserDetails();
|
this.getuserDetails();
|
||||||
this.getCommonSettings()
|
this.getCommonSettings()
|
||||||
this.rootPage = SalesPDlistPage
|
this.rootPage = AuthPage
|
||||||
}).catch(()=>{
|
}).catch(()=>{
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.rootPage = LoginPage;
|
this.rootPage = LoginPage;
|
||||||
|
|||||||
@ -112,7 +112,7 @@ current_section:any;
|
|||||||
let template_sections:any = localStorage.getItem('question_temp_salespd')
|
let template_sections:any = localStorage.getItem('question_temp_salespd')
|
||||||
template_sections = JSON.parse(template_sections).sections.map(val1=>val1.section_name)
|
template_sections = JSON.parse(template_sections).sections.map(val1=>val1.section_name)
|
||||||
console.log(template_sections,pd_section_datas);
|
console.log(template_sections,pd_section_datas);
|
||||||
if(template_sections.length != pd_section_datas.length+1){
|
if(template_sections.length != pd_section_datas.length){
|
||||||
let unsavedSections = template_sections.filter(function(item) {
|
let unsavedSections = template_sections.filter(function(item) {
|
||||||
return !pd_section_datas.includes(item);
|
return !pd_section_datas.includes(item);
|
||||||
})
|
})
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 301 KiB After Width: | Height: | Size: 628 KiB |
@ -1,6 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en" dir="ltr">
|
<html lang="en" dir="ltr">
|
||||||
<head>
|
<head>
|
||||||
|
<script data-ionic="inject">
|
||||||
|
(function(w){var i=w.Ionic=w.Ionic||{};i.version='3.9.2';i.angular='5.0.3';i.staticDir='build/';})(window);
|
||||||
|
</script>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>Ionic App</title>
|
<title>Ionic App</title>
|
||||||
<meta name="viewport" content="viewport-fit=cover, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
<meta name="viewport" content="viewport-fit=cover, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user