pull of peter chnages

This commit is contained in:
Eudes Inácio
2023-07-10 12:48:28 +01:00
112 changed files with 5705 additions and 79 deletions
+2 -3
View File
@@ -19,7 +19,7 @@ import { Platform } from '@ionic/angular';
import { FirstEnterService } from '../../services/first-enter.service';
import { Storage } from '@ionic/storage';
import { HttpErrorHandle } from 'src/app/services/http-error-handle.service';
import { DocumentManagementStore } from 'src/app/store/documentManagement';
import { CPSession } from 'src/app/store/documentManagement';
@Component({
selector: 'app-login',
templateUrl: './login.page.html',
@@ -39,7 +39,6 @@ export class LoginPage implements OnInit {
sessionStore = SessionStore;
showPassword = false;
passwordIcon = "eye";
DocumentManagementStore = DocumentManagementStore
constructor(
private notificatinsservice: NotificationsService,
@@ -154,7 +153,7 @@ export class LoginPage implements OnInit {
window.localStorage.clear();
await MessageModel.deleteAll();
await DeleteMessageModel.deleteAll();
this.DocumentManagementStore.clear();
CPSession.clear();
this.storage.clear();
await this.authService.SetSession(attempt, this.userattempt);