From f0e2482dd6caf24f9f0f11eea36467db68c7575a Mon Sep 17 00:00:00 2001 From: Clem Fern Date: Sat, 22 Jul 2023 22:20:18 +0200 Subject: [PATCH] wip fix(core): group migration c1e03ed5321f2a0add06a7051008e6deffdb038c --- tabby-core/src/configDefaults.yaml | 1 + tabby-core/src/services/config.service.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tabby-core/src/configDefaults.yaml b/tabby-core/src/configDefaults.yaml index 693c888b..1ad4f421 100644 --- a/tabby-core/src/configDefaults.yaml +++ b/tabby-core/src/configDefaults.yaml @@ -31,6 +31,7 @@ hotkeys: profile-selectors: __nonStructural: true profiles: [] +groups: [] profileDefaults: __nonStructural: true ssh: diff --git a/tabby-core/src/services/config.service.ts b/tabby-core/src/services/config.service.ts index 206b3b46..50c0f3ab 100644 --- a/tabby-core/src/services/config.service.ts +++ b/tabby-core/src/services/config.service.ts @@ -368,7 +368,7 @@ export class ConfigService { if (config.version < 5) { const groups: PartialProfileGroup[] = [] for (const p of config.profiles ?? []) { - if (!`${p.group}`.trim()) { + if (!(p.group ?? '').trim()) { continue }