mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-05 02:50:00 +00:00
fixed profile duplication
This commit is contained in:
parent
88bb40f94b
commit
0bd0c850da
@ -45,10 +45,8 @@ export class ShellSettingsTabComponent {
|
|||||||
name: shell.name,
|
name: shell.name,
|
||||||
sessionOptions: this.terminalService.optionsFromShell(shell),
|
sessionOptions: this.terminalService.optionsFromShell(shell),
|
||||||
}
|
}
|
||||||
this.profiles.push(profile)
|
|
||||||
this.config.store.terminal.profiles.push(profile)
|
this.config.store.terminal.profiles.push(profile)
|
||||||
this.config.save()
|
this.config.save()
|
||||||
this.editProfile(profile)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
editProfile (profile: Profile) {
|
editProfile (profile: Profile) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user