mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
change word
This commit is contained in:
@@ -14,7 +14,6 @@ import { NgxMatDateFormats } from '@angular-material-components/datetime-picker'
|
||||
import { removeDuplicate } from 'src/plugin/removeDuplicate.js'
|
||||
import { EventToApproveEdit } from 'src/app/models/event.model';
|
||||
import { ThemeService } from 'src/app/services/theme.service'
|
||||
import { Router } from '@angular/router';
|
||||
import { HttpErrorHandle } from 'src/app/services/http-error-handle.service';
|
||||
|
||||
|
||||
|
||||
@@ -9,7 +9,6 @@ import { removeDuplicate } from 'src/plugin/removeDuplicate.js'
|
||||
import { SearchPage } from 'src/app/pages/search/search.page';
|
||||
import { AttachmentsService } from 'src/app/services/attachments.service';
|
||||
import { Attachment } from 'src/app/models/attachment.model';
|
||||
import { ToastService } from 'src/app/services/toast.service';
|
||||
import { FormControl, FormGroup, Validators } from '@angular/forms';
|
||||
import { ParticipantsPipe } from 'src/app/pipes/participants.pipe';
|
||||
import { ThemeService } from 'src/app/services/theme.service'
|
||||
@@ -92,7 +91,6 @@ export class EditEventPage implements OnInit {
|
||||
private eventsService: EventsService,
|
||||
public alertController: AlertController,
|
||||
private attachmentsService: AttachmentsService,
|
||||
private toastService: ToastService,
|
||||
public ThemeService: ThemeService,
|
||||
private httpErrorHandle: HttpErrorHandle
|
||||
) {}
|
||||
|
||||
@@ -133,8 +133,6 @@ export class NewEventPage implements OnInit {
|
||||
private dateAdapter: DateAdapter<any>,
|
||||
public ThemeService: ThemeService,
|
||||
private chatMethodService: ChatMethodsService,
|
||||
private ServerConnectionService: ServerConnectionService,
|
||||
// private translate: TranslateService
|
||||
private hhtpErrorHandle: HttpErrorHandle
|
||||
) {
|
||||
this.dateAdapter.setLocale('pt');
|
||||
|
||||
@@ -32,6 +32,8 @@ export class AllProcessesPage implements OnInit {
|
||||
listSubscription : {
|
||||
delete(): void;
|
||||
}
|
||||
routerSubscription;
|
||||
|
||||
|
||||
|
||||
constructor(
|
||||
@@ -58,10 +60,18 @@ export class AllProcessesPage implements OnInit {
|
||||
|
||||
this.dynamicSearch();
|
||||
|
||||
this.routerSubscription = this.router.events.subscribe((event) => {
|
||||
if (event instanceof NavigationEnd && event.url.includes('/home/gabinete-digital')) {
|
||||
// this.refreshing();
|
||||
this.checkFilter();
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
ngOnDestroy() {
|
||||
this.listSubscription.delete()
|
||||
this.routerSubscription?.unsubscribe();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user