From 6c9754c9675b3b05ab98505cd4255b218c3115ea Mon Sep 17 00:00:00 2001 From: Eugene Date: Fri, 19 Jul 2024 00:16:58 +0200 Subject: [PATCH] lint --- tabby-core/src/components/splitTab.component.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tabby-core/src/components/splitTab.component.ts b/tabby-core/src/components/splitTab.component.ts index 2cccfddb..1e4f4c29 100644 --- a/tabby-core/src/components/splitTab.component.ts +++ b/tabby-core/src/components/splitTab.component.ts @@ -838,22 +838,22 @@ export class SplitTabComponent extends BaseTabComponent implements AfterViewInit } tab.subscribeUntilDestroyed( - this.observeUntilChildDetached(tab.titleChange$), + this.observeUntilChildDetached(tab, tab.titleChange$), () => this.updateTitle(), ) tab.subscribeUntilDestroyed( - this.observeUntilChildDetached(tab.activity$), + this.observeUntilChildDetached(tab, tab.activity$), a => a ? this.displayActivity() : this.clearActivity(), ) tab.subscribeUntilDestroyed( - this.observeUntilChildDetached(tab.progress$), + this.observeUntilChildDetached(tab, tab.progress$), p => this.setProgress(p), ) if (tab.title) { this.updateTitle() } tab.subscribeUntilDestroyed( - this.observeUntilChildDetached(tab.recoveryStateChangedHint$), + this.observeUntilChildDetached(tab, tab.recoveryStateChangedHint$), () => { this.recoveryStateChangedHint.next() }, @@ -865,7 +865,7 @@ export class SplitTabComponent extends BaseTabComponent implements AfterViewInit private observeUntilChildDetached (tab: BaseTabComponent, event: Observable): Observable { return event.pipe(takeWhile(() => { - this.getAllTabs().includes(tab) + return this.getAllTabs().includes(tab) })) }