diff --git a/tabby-core/src/components/baseTab.component.ts b/tabby-core/src/components/baseTab.component.ts index 15600af6..ddae7fbd 100644 --- a/tabby-core/src/components/baseTab.component.ts +++ b/tabby-core/src/components/baseTab.component.ts @@ -1,4 +1,4 @@ -import { Observable, Subject, distinct } from 'rxjs' +import { Observable, Subject, distinctUntilChanged } from 'rxjs' import { EmbeddedViewRef, ViewContainerRef, ViewRef } from '@angular/core' import { RecoveryToken } from '../api/tabRecovery' import { BaseComponent } from './base.component' @@ -69,8 +69,8 @@ export abstract class BaseTabComponent extends BaseComponent { get focused$ (): Observable { return this.focused } get blurred$ (): Observable { return this.blurred } - get titleChange$ (): Observable { return this.titleChange.pipe(distinct()) } - get progress$ (): Observable { return this.progress.pipe(distinct()) } + get titleChange$ (): Observable { return this.titleChange.pipe(distinctUntilChanged()) } + get progress$ (): Observable { return this.progress.pipe(distinctUntilChanged()) } get activity$ (): Observable { return this.activity } get destroyed$ (): Observable { return this.destroyed } get recoveryStateChangedHint$ (): Observable { return this.recoveryStateChangedHint }