mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 04:01:58 +00:00
bang
This commit is contained in:
committed by
Matt Hill
parent
b2c9307907
commit
4b07d57578
@@ -46,11 +46,11 @@ export class ConfigService {
|
||||
}
|
||||
|
||||
usePoll (): boolean {
|
||||
return this.supportsWebSockets || (mocks.enabled && mocks.connection === 'poll')
|
||||
return !this.supportsWebSockets || (mocks.enabled && mocks.connection === 'poll')
|
||||
}
|
||||
|
||||
isLaunchable (state: PackageState, status: PackageMainStatus, interfaces: { [id: string]: InterfaceDef }): boolean {
|
||||
if (this.supportsWebSockets || state !== PackageState.Installed) {
|
||||
if (state !== PackageState.Installed) {
|
||||
return false
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user