1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-11-23 05:03:36 +03:00

wip fix(core): group migration c1e03ed532

This commit is contained in:
Clem Fern 2023-07-22 22:20:18 +02:00
parent 5763919d85
commit f0e2482dd6
2 changed files with 2 additions and 1 deletions

View File

@ -31,6 +31,7 @@ hotkeys:
profile-selectors:
__nonStructural: true
profiles: []
groups: []
profileDefaults:
__nonStructural: true
ssh:

View File

@ -368,7 +368,7 @@ export class ConfigService {
if (config.version < 5) {
const groups: PartialProfileGroup<ProfileGroup>[] = []
for (const p of config.profiles ?? []) {
if (!`${p.group}`.trim()) {
if (!(p.group ?? '').trim()) {
continue
}