@valtimo/zgw 13.2.1 → 13.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,7 +16,7 @@ import * as i3 from '@valtimo/components';
16
16
  import { CARBON_CONSTANTS, ViewType, CarbonListModule, ConfirmationModalModule, InputLabelModule, InputModule as InputModule$1, SelectModule, VModalModule, DEFAULT_PAGINATION, DEFAULT_PAGINATOR_CONFIG, CarbonListComponent, registerCustomFormioComponent, ParagraphModule, TableModule, FormIoModule, FormModule, SpinnerModule, ValtimoCdsModalDirective, RenderInBodyComponent, MuuriDirectiveModule, DropzoneModule, FileSizeModule } from '@valtimo/components';
17
17
  import * as i1 from '@angular/common/http';
18
18
  import { HttpParams } from '@angular/common/http';
19
- import { take, tap as tap$1, map as map$1, filter as filter$1, switchMap as switchMap$1, catchError } from 'rxjs/operators';
19
+ import { take, tap as tap$1, map as map$1, filter as filter$1, switchMap as switchMap$1, catchError, shareReplay } from 'rxjs/operators';
20
20
  import * as i1$2 from '@angular/router';
21
21
  import { RouterModule } from '@angular/router';
22
22
  import { TrashCan16, Filter16, TagGroup16, Upload16, Edit16, Save16 } from '@carbon/icons';
@@ -1615,7 +1615,7 @@ class CaseDetailTabDocumentenApiDocumentsComponent {
1615
1615
  this.showZaakLinkWarning = true;
1616
1616
  this._itemsLoading$.next(false);
1617
1617
  return of([]);
1618
- }));
1618
+ }), shareReplay({ bufferSize: 1, refCount: true }));
1619
1619
  this.enablePbacDocumentenApiDocuments$ = this.configService.getFeatureToggleObservable('enablePbacDocumentenApiDocuments');
1620
1620
  this.filePermissions = {};
1621
1621
  this.canCreateResource$ = this.documentId$.pipe(switchMap$1(documentId => this.getPermission(CAN_CREATE_RESOURCE_PERMISSION, {