mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
save
This commit is contained in:
@@ -10,7 +10,7 @@ module.exports = {
|
|||||||
server: {
|
server: {
|
||||||
command: `http-server -a 127.0.0.1 --port ${port} ./www`,
|
command: `http-server -a 127.0.0.1 --port ${port} ./www`,
|
||||||
port: port,
|
port: port,
|
||||||
launchTimeout: 5000
|
launchTimeout: 8000
|
||||||
},
|
},
|
||||||
launch: {
|
launch: {
|
||||||
dumpio: true,
|
dumpio: true,
|
||||||
|
|||||||
+2
-1
@@ -11,7 +11,8 @@
|
|||||||
"e2e": "ng e2e",
|
"e2e": "ng e2e",
|
||||||
"test": "jest --detectOpenHandles --runInBand",
|
"test": "jest --detectOpenHandles --runInBand",
|
||||||
"test:prof": "ionic build --configuration production && npm run test",
|
"test:prof": "ionic build --configuration production && npm run test",
|
||||||
"dev:share": "lite-server --baseDir=share"
|
"dev:share": "lite-server --baseDir=share",
|
||||||
|
"install:chromium":"node node_modules/puppeteer/install.js"
|
||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ export class LoginGuard implements CanActivate {
|
|||||||
} else if(SessionStore.exist && !SessionStore.user.Inactivity && SessionStore.user.LoginPreference == 'Pin' && SessionStore.forceToLoginWithForceToLogInWithPassword && !this.platform.is('desktop') && !this.platform.is('mobileweb')) {
|
} else if(SessionStore.exist && !SessionStore.user.Inactivity && SessionStore.user.LoginPreference == 'Pin' && SessionStore.forceToLoginWithForceToLogInWithPassword && !this.platform.is('desktop') && !this.platform.is('mobileweb')) {
|
||||||
SessionStore.forceToLoginWithForceToLogInWithPassword = false
|
SessionStore.forceToLoginWithForceToLogInWithPassword = false
|
||||||
return true
|
return true
|
||||||
} else if(SessionStore.exist && !SessionStore.hasPin && !this.platform.is('desktop') && !this.platform.is('mobileweb') ) {
|
} else if(SessionStore.exist && SessionStore.user.Inactivity && !SessionStore.hasPin && !this.platform.is('desktop') && !this.platform.is('mobileweb') ) {
|
||||||
this.router.navigate(['/pin']);
|
this.router.navigate(['/pin']);
|
||||||
return false
|
return false
|
||||||
} else if(SessionStore.exist && !SessionStore.user.Inactivity && SessionStore.user.LoginPreference == 'Pin' && !this.platform.is('desktop') && !this.platform.is('mobileweb')) {
|
} else if(SessionStore.exist && !SessionStore.user.Inactivity && SessionStore.user.LoginPreference == 'Pin' && !this.platform.is('desktop') && !this.platform.is('mobileweb')) {
|
||||||
|
|||||||
@@ -160,6 +160,8 @@
|
|||||||
<ion-label class="float-status-all float-status" *ngIf="msg.u.username==sessionStore.user.UserName">
|
<ion-label class="float-status-all float-status" *ngIf="msg.u.username==sessionStore.user.UserName">
|
||||||
|
|
||||||
<ion-icon *ngIf="msg.messageSend == false" src="assets/images/clock-regular.svg"></ion-icon>
|
<ion-icon *ngIf="msg.messageSend == false" src="assets/images/clock-regular.svg"></ion-icon>
|
||||||
|
|
||||||
|
<!-- <span *ngIf="msg.messageSend == false" >{{ msg.sendAttempt }}</span> -->
|
||||||
<ion-icon *ngIf="msg.messageSend == true && msg.received.length == 0" src="assets/images/check-solid.svg"></ion-icon>
|
<ion-icon *ngIf="msg.messageSend == true && msg.received.length == 0" src="assets/images/check-solid.svg"></ion-icon>
|
||||||
<ion-icon *ngIf="msg.messageSend && msg.received.length >= 1 && msg.viewed.length == 0" src="assets/images/check-double-solid.svg"></ion-icon>
|
<ion-icon *ngIf="msg.messageSend && msg.received.length >= 1 && msg.viewed.length == 0" src="assets/images/check-double-solid.svg"></ion-icon>
|
||||||
<ion-icon *ngIf="msg.viewed.length >= 1" src="assets/images/check-double-solid -viewed.svg"></ion-icon>
|
<ion-icon *ngIf="msg.viewed.length >= 1" src="assets/images/check-double-solid -viewed.svg"></ion-icon>
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
import { Injectable } from '@angular/core';
|
import { Injectable } from '@angular/core';
|
||||||
import { Message } from 'src/app/models/chatMethod';
|
import { Message } from 'src/app/models/chatMethod';
|
||||||
import { Storage } from '@ionic/storage';
|
|
||||||
import { SessionStore } from 'src/app/store/session.service';
|
import { SessionStore } from 'src/app/store/session.service';
|
||||||
import { capitalizeTxt } from 'src/plugin/text'
|
import { capitalizeTxt } from 'src/plugin/text'
|
||||||
import { NfService } from 'src/app/services/chat/nf.service'
|
import { NfService } from 'src/app/services/chat/nf.service'
|
||||||
|
|||||||
Reference in New Issue
Block a user