Fairoj : offline complete check issue and pin page is enabled

This commit is contained in:
venbatechnologies@gmail.com 2020-05-27 11:43:41 +05:30
parent 0d121f9fa3
commit 3f93663858
4 changed files with 5 additions and 2 deletions

View File

@ -68,7 +68,7 @@ export class MyApp {
this.shared.getAccessToken().then(()=>{
this.getuserDetails();
this.getCommonSettings()
this.rootPage = SalesPDlistPage
this.rootPage = AuthPage
}).catch(()=>{
setTimeout(() => {
this.rootPage = LoginPage;

View File

@ -112,7 +112,7 @@ current_section:any;
let template_sections:any = localStorage.getItem('question_temp_salespd')
template_sections = JSON.parse(template_sections).sections.map(val1=>val1.section_name)
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) {
return !pd_section_datas.includes(item);
})

Binary file not shown.

Before

Width:  |  Height:  |  Size: 301 KiB

After

Width:  |  Height:  |  Size: 628 KiB

View File

@ -1,6 +1,9 @@
<!DOCTYPE html>
<html lang="en" dir="ltr">
<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">
<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">