/
githubmirror
/
tabby
Обзор
Документация
Войти
/
githubmirror
/
tabby
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tabby-local/src/settings.ts
23 строки
628 B
Eugene Pankov
moved profile settings view to settings plugin, web entry cleanup
07 июл 2021, 02:22
Не верифицирован
07 июл 2021, 02:22
0ad32fa
Код
Авторство
О чём код?
import { Injectable } from '@angular/core' import { HostAppService, Platform } from 'tabby-core' import { SettingsTabProvider } from 'tabby-settings' import { ShellSettingsTabComponent } from './components/shellSettingsTab.component' /** @hidden */ @Injectable() export class ShellSettingsTabProvider extends SettingsTabProvider { id = 'terminal-shell' icon = 'list-ul' title = 'Shell' constructor (private hostApp: HostAppService) { super() } getComponentType (): any { if (this.hostApp.platform === Platform.Windows) { return ShellSettingsTabComponent } } }