optional readonly and fix clear buttons

This commit is contained in:
SpikeHD
2022-05-20 19:04:59 -07:00
parent 8cb00f7024
commit c8a172443d
5 changed files with 29 additions and 5 deletions

View File

@@ -16,6 +16,7 @@ let defaultConfig: Configuration
last_ip: '',
last_port: '',
language: 'en',
customBackground: '',
}
})()
@@ -33,6 +34,7 @@ export interface Configuration {
last_ip: string
last_port: string
language: string
customBackground: string
}
export async function setConfigOption(key: string, value: any): Promise<void> {