mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
fix
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user