mirror of
https://github.com/Eugeny/tabby.git
synced 2024-11-24 06:04:04 +03:00
fixed profile duplication
This commit is contained in:
parent
88bb40f94b
commit
0bd0c850da
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user