mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Cleanup process services project structure (#9838)
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
*/
|
||||
|
||||
import { AlfrescoApiService } from '@alfresco/adf-core';
|
||||
import { Injectable } from '@angular/core';
|
||||
import { inject, Injectable } from '@angular/core';
|
||||
import { Observable, from, of } from 'rxjs';
|
||||
import { map, catchError, flatMap, filter } from 'rxjs/operators';
|
||||
import { Form } from '../models/form.model';
|
||||
@@ -36,6 +36,8 @@ import {
|
||||
providedIn: 'root'
|
||||
})
|
||||
export class TaskListService {
|
||||
protected apiService = inject(AlfrescoApiService);
|
||||
|
||||
private _modelsApi: ModelsApi;
|
||||
get modelsApi(): ModelsApi {
|
||||
this._modelsApi = this._modelsApi ?? new ModelsApi(this.apiService.getInstance());
|
||||
@@ -60,8 +62,6 @@ export class TaskListService {
|
||||
return this._checklistsApi;
|
||||
}
|
||||
|
||||
constructor(private apiService: AlfrescoApiService) {}
|
||||
|
||||
/**
|
||||
* Gets all the filters in the list that belong to a task.
|
||||
*
|
||||
|
Reference in New Issue
Block a user