mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 10:21:52 +00:00
bang
This commit is contained in:
committed by
Aiden McClelland
parent
3ebb8da7a9
commit
f6d39359bc
@@ -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