mirror of
https://github.com/Eugeny/tabby.git
synced 2025-09-24 17:16:03 +00:00
fixed default profile selection
This commit is contained in:
@@ -65,7 +65,7 @@ export class TerminalService {
|
||||
*/
|
||||
async openTab (profile?: Profile, cwd?: string, pause?: boolean): Promise<TerminalTabComponent> {
|
||||
if (!profile) {
|
||||
let profiles = await this.getProfiles()
|
||||
let profiles = await this.getProfiles(true)
|
||||
profile = profiles.find(x => slug(x.name).toLowerCase() === this.config.store.terminal.profile) || profiles[0]
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user