Skip to content

Commit

Permalink
fix catalog reload
Browse files Browse the repository at this point in the history
  • Loading branch information
illfixit committed Oct 18, 2024
1 parent 51cb774 commit 0d08063
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,14 @@ export class CatalogPageComponent implements OnInit, OnDestroy {
.pipe(
takeUntil(this.ngOnDestroy$),
map((data) => data.catalogType === 'my-data-offers'),
distinctUntilChanged(),
tap((isMyDataOffers) => {
this.headerConfig = this.buildHeaderConfig(isMyDataOffers);
}),
switchMap((isMyDataOffers) => {
if (isMyDataOffers) {
return this.globalStateUtils.userInfo$.pipe(
map((it) => it.organizationId),
distinctUntilChanged(),
);
}

Expand Down

0 comments on commit 0d08063

Please sign in to comment.