From 60a63d9c658fd348c8cc422ae3592ae14f1541bf Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Fri, 16 Jun 2023 18:08:37 +0200 Subject: [PATCH] lint --- tabby-settings/src/components/profilesSettingsTab.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tabby-settings/src/components/profilesSettingsTab.component.ts b/tabby-settings/src/components/profilesSettingsTab.component.ts index 6ba722c4..9b6e1c8b 100644 --- a/tabby-settings/src/components/profilesSettingsTab.component.ts +++ b/tabby-settings/src/components/profilesSettingsTab.component.ts @@ -59,7 +59,7 @@ export class ProfilesSettingsTabComponent extends BaseComponent { async newProfile (base?: PartialProfile): Promise { if (!base) { - const profiles = [...this.templateProfiles, ...this.builtinProfiles, ...this.profiles] + let 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(