From a494d9c8007dd53673c6321926f4e47344181a53 Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Mon, 15 May 2023 23:09:13 +0200 Subject: [PATCH] fixed #8313 - recover tab icons and colors ealier during start --- tabby-core/src/components/splitTab.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tabby-core/src/components/splitTab.component.ts b/tabby-core/src/components/splitTab.component.ts index 07ac3b469d..c5622ec4ac 100644 --- a/tabby-core/src/components/splitTab.component.ts +++ b/tabby-core/src/components/splitTab.component.ts @@ -787,7 +787,7 @@ export class SplitTabComponent extends BaseTabComponent implements AfterViewInit } get icon (): string|null { - return this.getFocusedTab()?.icon ?? null + return this.getFocusedTab()?.icon ?? this.getAllTabs()[0]?.icon ?? null } set icon (icon: string|null) { @@ -797,7 +797,7 @@ export class SplitTabComponent extends BaseTabComponent implements AfterViewInit } get color (): string|null { - return this.getFocusedTab()?.color ?? null + return this.getFocusedTab()?.color ?? this.getAllTabs()[0]?.color ?? null } set color (color: string|null) {