mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-21 02:48:00 +00:00
config sync is experimental no more
This commit is contained in:
@@ -5,7 +5,6 @@ import { WindowSettingsTabComponent } from './components/windowSettingsTab.compo
|
|||||||
import { VaultSettingsTabComponent } from './components/vaultSettingsTab.component'
|
import { VaultSettingsTabComponent } from './components/vaultSettingsTab.component'
|
||||||
import { ConfigSyncSettingsTabComponent } from './components/configSyncSettingsTab.component'
|
import { ConfigSyncSettingsTabComponent } from './components/configSyncSettingsTab.component'
|
||||||
import { ProfilesSettingsTabComponent } from './components/profilesSettingsTab.component'
|
import { ProfilesSettingsTabComponent } from './components/profilesSettingsTab.component'
|
||||||
import { ConfigSyncService } from './services/configSync.service'
|
|
||||||
|
|
||||||
/** @hidden */
|
/** @hidden */
|
||||||
@Injectable()
|
@Injectable()
|
||||||
@@ -66,14 +65,7 @@ export class ConfigSyncSettingsTabProvider extends SettingsTabProvider {
|
|||||||
icon = 'cloud'
|
icon = 'cloud'
|
||||||
title = 'Config sync'
|
title = 'Config sync'
|
||||||
|
|
||||||
constructor (
|
|
||||||
private configSync: ConfigSyncService,
|
|
||||||
) { super() }
|
|
||||||
|
|
||||||
getComponentType (): any {
|
getComponentType (): any {
|
||||||
if (!this.configSync.isAvailable()) {
|
|
||||||
return null
|
|
||||||
}
|
|
||||||
return ConfigSyncSettingsTabComponent
|
return ConfigSyncSettingsTabComponent
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user