Allinged collection method of attachments service to sorages service

pull/10751/head
Andreas Pfohl 2 years ago
parent 6969c99665
commit 9e36e482f1
No known key found for this signature in database
GPG Key ID: FF58F3B771328EB4
  1. 2
      frontend/src/app/core/state/attachments/attachments.service.ts
  2. 2
      frontend/src/app/features/work-packages/components/wp-tabs/services/wp-tabs/wp-files-count.function.ts

@ -96,7 +96,7 @@ export class AttachmentsResourceService {
*
* @param key the collection key
*/
all(key:string):Observable<IAttachment[]> {
collection(key:string):Observable<IAttachment[]> {
return this.query
.select()
.pipe(

@ -42,7 +42,7 @@ export function workPackageFilesCount(
return combineLatest(
[
attachmentService.all(workPackage.$links.attachments.href || ''),
attachmentService.collection(workPackage.$links.attachments.href || ''),
fileLinkService.all(workPackage.$links.fileLinks?.href || ''),
],
).pipe(

Loading…
Cancel
Save