From 0bd0c850dae3f3146646d64f3fa329c6fdeb5c0f Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Mon, 24 Dec 2018 11:32:04 +0100 Subject: [PATCH] fixed profile duplication --- terminus-terminal/src/components/shellSettingsTab.component.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/terminus-terminal/src/components/shellSettingsTab.component.ts b/terminus-terminal/src/components/shellSettingsTab.component.ts index f3c7a0cd..1d509d05 100644 --- a/terminus-terminal/src/components/shellSettingsTab.component.ts +++ b/terminus-terminal/src/components/shellSettingsTab.component.ts @@ -45,10 +45,8 @@ export class ShellSettingsTabComponent { name: shell.name, sessionOptions: this.terminalService.optionsFromShell(shell), } - this.profiles.push(profile) this.config.store.terminal.profiles.push(profile) this.config.save() - this.editProfile(profile) } editProfile (profile: Profile) {