filter pass dates

This commit is contained in:
Peter Maquiran
2023-08-28 16:07:06 +01:00
parent fbc02a0585
commit 416b448516
8 changed files with 28 additions and 25 deletions
+6 -6
View File
@@ -7,12 +7,12 @@
float: left;
}
.header-title{
font-family: Roboto;
font-size: rem(25);
padding: 0;
color:#000;
float: left;
.header-title {
font-family: Roboto;
font-size: rem(25);
padding: 0;
color:#000;
float: left;
}
/* .content{
overflow: auto !important; */
@@ -129,7 +129,8 @@ export class EditEventPage implements OnInit {
role: 'cancel',
cssClass: 'secondary',
handler: () => { }
}, {
},
{
text: 'Sim',
handler: () => {
this.Delete();
+1 -1
View File
@@ -102,7 +102,7 @@ export class ChatSystemService {
document.addEventListener('resume', function () {
if(this._dm?.length == 0 && this._group?.length == 0) {
if(this._dm?.length == 0 || this._group?.length == 0) {
this.getAllRooms();
}
});
@@ -10,7 +10,7 @@ import { ToastService } from 'src/app/services/toast.service';
import { ViewDocumentPage } from 'src/app/modals/view-document/view-document.page';
import { ThemeService } from 'src/app/services/theme.service';
import { HttpErrorHandle } from 'src/app/services/http-error-handle.service';
import { TaskService } from 'src/app/services/task.service'
import { TaskService } from 'src/app/services/task.service';
@Component({
@@ -110,7 +110,6 @@ export class ApproveEventPage implements OnInit {
let body = { "serialNumber": serialNumber, "action": "Descartar" }
const loader = this.toastService.loading()
try {
@@ -133,8 +132,6 @@ export class ApproveEventPage implements OnInit {
} catch (error) {
console.error('getAttchaments',error)
}
}
async viewDocument(DocId:string, Document) {
@@ -89,6 +89,8 @@ export class EventoaprovacaoStoreService {
}
value = value.filter((e)=> new Date(e.workflowInstanceDataFields.StartDate).getTime() >= new Date().getTime())
value = value.filter(e => e.activityInstanceName != 'Comunicar Evento')
value = value.map( e => this.EventoApprovePipe.transform(e, e))
+6 -1
View File
@@ -24,5 +24,10 @@
"fullTemplateTypeCheck": true,
"strictInjectionParameters": true
},
"esModuleInterop": true
"esModuleInterop": true,
"exclude": [
"src/models",
"src/sql",
"src/connection",
]
}
File diff suppressed because one or more lines are too long
+2 -4
View File
@@ -2,14 +2,12 @@
"folders": [
{
"path": "."
},
{
"path": "..\\powercon"
}
],
"settings": {
"cSpell.words": [
"Chatmessage"
]
],
"nuxt.isNuxtApp": false
}
}