mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
ui: fix distinctUntilChanged()
This commit is contained in:
committed by
Aiden McClelland
parent
0937c81e46
commit
e1200c2991
@@ -45,8 +45,8 @@ export class MockApiService extends ApiService {
|
||||
async testConnection (): Promise<true> {
|
||||
console.log('testing connection')
|
||||
this.testCounter ++
|
||||
await pauseFor(1000)
|
||||
if (this.testCounter > 5) {
|
||||
await pauseFor(10000000)
|
||||
if (this.testCounter > 3) {
|
||||
return true
|
||||
} else {
|
||||
throw new Error('Not Connected')
|
||||
|
||||
Reference in New Issue
Block a user