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

wip fix(core): getProfileGroups bad builtin profile filtering c1e03ed532

This commit is contained in:
Clem Fern 2023-07-22 22:27:02 +02:00
parent f0e2482dd6
commit 5ba6bfbd7d

View File

@ -310,8 +310,8 @@ export class ProfilesService {
ungrouped.collapsed = profileGroupCollapsed[ungrouped.id] ?? false
if (includeProfiles) {
builtIn.profiles = profiles.filter(p => p.group === builtIn.id)
profiles = profiles.filter(p => p.group !== builtIn.id)
builtIn.profiles = profiles.filter(p => p.isBuiltin)
profiles = profiles.filter(p => !p.isBuiltin)
ungrouped.profiles = profiles
}