Skip to content

Commit

Permalink
[#noissue] Fix duplicated request in changing host-group
Browse files Browse the repository at this point in the history
  • Loading branch information
binDongKim committed Jul 25, 2022
1 parent 2b88038 commit 6fe7c30
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export class MetricContentsContainerComponent implements OnInit, OnDestroy {
// });

this.newUrlStateNotificationService.onUrlStateChange$.pipe(
takeUntil(this.unsubscribe),
filter((urlService: NewUrlStateNotificationService) => urlService.isValueChanged(UrlPathId.HOST_GROUP) || urlService.isValueChanged(UrlPathId.HOST)),
tap(() => this.metricList = []),
switchMap((urlService: NewUrlStateNotificationService) => {
Expand Down

0 comments on commit 6fe7c30

Please # to comment.