This commit is contained in:
Peter Maquiran
2023-08-18 17:37:11 +01:00
parent eb77736a60
commit 8d35abbdd0
12 changed files with 269 additions and 163 deletions
+7
View File
@@ -18,6 +18,7 @@ import { SortService } from './functions/sort.service';
import { customTask } from '../models/dailyworktask.model';
import { Router } from '@angular/router';
import { v4 as uuidv4 } from 'uuid'
import { ChangeProfileService } from './change-profile.service';
@Injectable({
providedIn: 'root'
@@ -64,8 +65,14 @@ export class TaskService {
private despachoRule: DespachoService,
public eventService: EventsService,
private router: Router,
private changeProfileService: ChangeProfileService,
) {
this.changeProfileService.registerCallback(() => {
this.updateCount()
this.runCallback();
})
window['all-process-gabinete'] = () => {
this.updateAllProcess();
this.updateCount();