mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 10:21:52 +00:00
fix metrics again
This commit is contained in:
committed by
Aiden McClelland
parent
b978d5062f
commit
1732e5403b
@@ -49,6 +49,9 @@ export class ServerMetricsPage {
|
||||
try {
|
||||
const metrics = await this.embassyApi.getServerMetrics({ })
|
||||
Object.entries(metrics).forEach(([groupKey, groupVal]) => {
|
||||
if (!this.metrics[groupKey]) {
|
||||
this.metrics[groupKey] = groupVal
|
||||
}
|
||||
Object.entries(groupVal).forEach(([key, val]) => {
|
||||
this.metrics[groupKey][key] = val
|
||||
})
|
||||
|
||||
@@ -120,7 +120,7 @@ export const serverConfig: ConfigSpec = {
|
||||
'auto-check-updates': {
|
||||
type: 'boolean',
|
||||
name: 'Auto Check for Updates',
|
||||
description: 'On launch, EmbassyOS will automatically check for updates of itself and your installed services. Updating still requires your approval and action. Updates will never be performed automatically.',
|
||||
description: 'If enabled, EmbassyOS will automatically check for updates of itself and any installed services. Updating will still require your approval and action. Updates will never be performed automatically.',
|
||||
default: true,
|
||||
},
|
||||
// 'eos-marketplace': {
|
||||
@@ -144,7 +144,7 @@ export const serverConfig: ConfigSpec = {
|
||||
'share-stats': {
|
||||
type: 'boolean',
|
||||
name: 'Report Bugs',
|
||||
description: new IonicSafeString(`Bug reports are anonymized and transmitted over Tor. This helps us identify and fix bugs quickly. <a href="https://docs.start9.com" target="_blank" rel="noreferrer">Read more</a> `) as any, // @TODO get actual link
|
||||
description: new IonicSafeString(`If enabled, generic error codes will be anonymously transmitted over Tor to the Start9 team. This helps us identify and fix bugs quickly. <a href="https://docs.start9.com" target="_blank" rel="noreferrer">Read more</a> `) as any, // @TODO get actual link
|
||||
default: false,
|
||||
},
|
||||
// password: {
|
||||
|
||||
Reference in New Issue
Block a user