RED-10768: Dossier loading improvement
This commit is contained in:
parent
7f13fa62d3
commit
a95012ad3b
@ -45,6 +45,9 @@ export abstract class GenericService<I> {
|
||||
this._updateLastChanged(entityId);
|
||||
return this.getAll<R>(`${this._defaultModelPath}/${entityId}`, queryParams);
|
||||
}
|
||||
getForTemplateId<R = I[]>(id: string, ...args: unknown[]): Observable<R> {
|
||||
return this.getAll<R>(`${this._defaultModelPath}/dossier-template/${id}`);
|
||||
}
|
||||
|
||||
delete(body: unknown, modelPath = this._defaultModelPath, queryParams?: List<QueryParam>): Observable<unknown> {
|
||||
let path = `/${this._serviceName}/${encodeURI(modelPath)}`;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user