mirror of
https://github.com/Eugeny/tabby.git
synced 2025-01-30 14:20:18 +08:00
Fix tab showing activity indicator even without new data
Fix regression from 7be921592a
Signed-off-by: Matheus Castello <matheus@castello.eng.br>
This commit is contained in:
parent
c75294e03a
commit
1afdb4a398
@ -139,12 +139,6 @@ export class AppService {
|
||||
this.tabClosed.next(tab)
|
||||
})
|
||||
|
||||
tab.activity$.subscribe(() => {
|
||||
if (tab === this._activeTab) {
|
||||
tab.clearActivity()
|
||||
}
|
||||
})
|
||||
|
||||
if (tab instanceof SplitTabComponent) {
|
||||
tab.tabAdded$.subscribe(() => this.emitTabsChanged())
|
||||
tab.tabRemoved$.subscribe(() => this.emitTabsChanged())
|
||||
|
@ -201,6 +201,8 @@ export class TaskCompletionContextMenu extends TabContextMenuItemProvider {
|
||||
type: 'checkbox',
|
||||
checked: !!extTab.__outputNotificationSubscription,
|
||||
click: () => {
|
||||
tab.clearActivity()
|
||||
|
||||
if (extTab.__outputNotificationSubscription) {
|
||||
extTab.__outputNotificationSubscription.unsubscribe()
|
||||
extTab.__outputNotificationSubscription = null
|
||||
|
Loading…
Reference in New Issue
Block a user