Просмотр исходного кода

fixed default profile selection

Eugene Pankov 6 лет назад
Родитель
Сommit
4afcfcb41a
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      terminus-terminal/src/services/terminal.service.ts

+ 1 - 1
terminus-terminal/src/services/terminal.service.ts

@@ -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]
         }