mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-31 04:23:40 +00:00
ui: preload bold, remove getdots from dom after load
This commit is contained in:
committed by
Aiden McClelland
parent
d2a70a782b
commit
53db8fc4ec
@@ -11,7 +11,7 @@ import { mockApiAppAvailableFull, mockApiAppAvailableVersionInfo, mockApiAppInst
|
||||
//@TODO consider moving to test folders.
|
||||
@Injectable()
|
||||
export class MockApiService extends ApiService {
|
||||
welcomeAck = false
|
||||
welcomeAck = true
|
||||
|
||||
constructor (
|
||||
private readonly appModel: AppModel,
|
||||
@@ -409,8 +409,8 @@ const mockApiServer: () => ReqRes.GetServerRes = () => ({
|
||||
versionLatest: '0.2.9',
|
||||
status: ServerStatus.RUNNING,
|
||||
alternativeRegistryUrl: 'beta-registry.start9labs.com',
|
||||
welcomeAck: false,
|
||||
autoCheckUpdates: true,
|
||||
welcomeAck: true,
|
||||
autoCheckUpdates: false,
|
||||
specs: {
|
||||
'Tor Address': 'nfsnjkcnaskjnlkasnfahj7dh23fdnieqwjdnhjewbfijendiueqwbd.onion',
|
||||
'CPU': 'Broadcom BCM2711, Quad core Cortex-A72 (ARM v8) 64-bit SoC @ 1.5GHz',
|
||||
|
||||
@@ -30,14 +30,16 @@ export class StartupAlertsNotifier {
|
||||
await this.checks
|
||||
.filter(c => !c.hasRun && c.shouldRun(server))
|
||||
.reduce(async (previousDisplay, c) => {
|
||||
let checkRes
|
||||
let checkRes: any
|
||||
try {
|
||||
checkRes = await c.check(server)
|
||||
} catch (e) {
|
||||
return console.error(`Exception in ${c.name} check:`, e)
|
||||
console.error(`Exception in ${c.name} check:`, e)
|
||||
return true
|
||||
}
|
||||
c.hasRun = true
|
||||
const displayRes = await previousDisplay
|
||||
|
||||
if (!checkRes) return true
|
||||
if (displayRes) return c.display(checkRes)
|
||||
}, Promise.resolve(true))
|
||||
|
||||
Reference in New Issue
Block a user