mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
ui: fix PR comments
This commit is contained in:
committed by
Aiden McClelland
parent
50b887fcb9
commit
d5d0ea3ade
@@ -59,8 +59,8 @@ export class ServerConfigService {
|
||||
description: 'On launch, EmabssyOS will automatically check for updates of itself and your installed services. Updating still requires user approval and action. No updates will ever be performed automatically.',
|
||||
default: true,
|
||||
},
|
||||
saveFn: (val: string) => {
|
||||
return this.apiService.patchServerConfig('autoCheckUpdates', val).then(() => this.serverModel.update({ name: val }))
|
||||
saveFn: (val: boolean) => {
|
||||
return this.apiService.patchServerConfig('autoCheckUpdates', val).then(() => this.serverModel.update({ autoCheckUpdates: val }))
|
||||
},
|
||||
},
|
||||
// password: {
|
||||
@@ -121,5 +121,5 @@ export class ServerConfigService {
|
||||
|
||||
interface SpecAndSaveFn {
|
||||
spec: ValueSpec
|
||||
saveFn: (val: string) => Promise<any>
|
||||
saveFn: (val: any) => Promise<any>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user