Skip to content

Commit

Permalink
[NIFI-14232] - Bump Nx and Angular versions: fixes birdseye viewer re…
Browse files Browse the repository at this point in the history
…ndering issue (#9690)

* [NIFI-14232] - Bump Nx and Angular versions: fixes birdseye viewer rendering issue

* re-generate package-lock

* swap rxjs combineLatestWith for ngrx concatLatestFrom in doc component

This closes #9690
  • Loading branch information
rfellows authored Feb 4, 2025
1 parent cfa249d commit fadca32
Show file tree
Hide file tree
Showing 4 changed files with 8,663 additions and 9,663 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import {
import { ComponentType, isDefinedAndNotNull, NiFiCommon, selectCurrentRoute } from '@nifi/shared';
import { MatAccordion } from '@angular/material/expansion';
import { FormBuilder, FormControl, FormGroup } from '@angular/forms';
import { combineLatestWith, debounceTime, distinctUntilChanged, map } from 'rxjs';
import { debounceTime, distinctUntilChanged, map } from 'rxjs';
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
import { DocumentedType } from '../../../state/shared';
import {
Expand All @@ -47,6 +47,7 @@ import {
} from '../state/documentation/documentation.selectors';
import { DefinitionCoordinates } from '../state';
import { navigateToOverview } from '../state/documentation/documentation.actions';
import {concatLatestFrom} from "@ngrx/operators";

@Component({
selector: 'documentation',
Expand Down Expand Up @@ -106,7 +107,7 @@ export class Documentation implements OnInit, AfterViewInit {
),
isDefinedAndNotNull(),
takeUntilDestroyed(),
combineLatestWith(this.store.select(selectCurrentRoute))
concatLatestFrom(() => this.store.select(selectCurrentRoute))
)
.subscribe(([coordinates, currentRoute]) => {
this.selectedCoordinates = coordinates;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -505,10 +505,7 @@ <h2 mat-dialog-title>Provenance Event</h2>
<div class="unset neutral-color">Empty string set</div>
</ng-container>
<ng-template #nonEmptyValue>
<div
[copy]="value"
class="tertiary-color font-medium"
*ngIf="title == null; else valueWithTitle">
<div [copy]="value" class="tertiary-color font-medium" *ngIf="title == null; else valueWithTitle">
{{ value }}
</div>
<ng-template #valueWithTitle>
Expand Down
Loading

0 comments on commit fadca32

Please sign in to comment.