From bc8ac12aef49ab62cacd10cbfa3277776aed3496 Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Fri, 16 Jun 2023 16:12:43 +0200 Subject: [PATCH] fixed #8588 - hide hidden profiles in the "new profile" selector --- tabby-settings/src/components/profilesSettingsTab.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/tabby-settings/src/components/profilesSettingsTab.component.ts b/tabby-settings/src/components/profilesSettingsTab.component.ts index 5b35b11f..6ba722c4 100644 --- a/tabby-settings/src/components/profilesSettingsTab.component.ts +++ b/tabby-settings/src/components/profilesSettingsTab.component.ts @@ -60,6 +60,7 @@ export class ProfilesSettingsTabComponent extends BaseComponent { async newProfile (base?: PartialProfile): Promise { if (!base) { const profiles = [...this.templateProfiles, ...this.builtinProfiles, ...this.profiles] + profiles = profiles.filter(x => !this.isProfileBlacklisted(x)) profiles.sort((a, b) => (a.weight ?? 0) - (b.weight ?? 0)) base = await this.selector.show( this.translate.instant('Select a base profile to use as a template'),