mirror of
https://github.com/vale981/tridactyl
synced 2025-03-06 01:51:40 -05:00
Fix unset for new config system
Thanks Lexi for bugreport.
This commit is contained in:
parent
8a500bbf92
commit
ce480c6de6
1 changed files with 3 additions and 2 deletions
|
@ -1543,8 +1543,9 @@ export async function quickmark(key: string, ...addressarr: string[]) {
|
|||
}
|
||||
|
||||
//#background
|
||||
export function get(target: string, property?: string){
|
||||
console.log(config.get(target,property))
|
||||
export function get(...keys: string[]) {
|
||||
const target = keys.join('.').split('.')
|
||||
console.log(config.get(...target))
|
||||
}
|
||||
|
||||
//#background
|
||||
|
|
Loading…
Add table
Reference in a new issue