mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-14 00:20:13 +00:00
fixed configproxy
This commit is contained in:
parent
50c20f08f8
commit
d7741f07a1
@ -1,3 +1,4 @@
|
|||||||
|
import deepClone from 'clone-deep'
|
||||||
import deepEqual from 'deep-equal'
|
import deepEqual from 'deep-equal'
|
||||||
import { v4 as uuidv4 } from 'uuid'
|
import { v4 as uuidv4 } from 'uuid'
|
||||||
import * as yaml from 'js-yaml'
|
import * as yaml from 'js-yaml'
|
||||||
@ -71,7 +72,7 @@ export class ConfigProxy {
|
|||||||
delete real[key].__nonStructural
|
delete real[key].__nonStructural
|
||||||
return real[key]
|
return real[key]
|
||||||
} else {
|
} else {
|
||||||
return defaults[key]
|
return deepClone(defaults[key])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user