mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-21 11:59:53 +00:00
wip fix(core): getConfigProxyForProfile skipUserDefaults param never used c1e03ed5321f2a0add06a7051008e6deffdb038c
This commit is contained in:
parent
5ba6bfbd7d
commit
4d146941f4
@ -214,7 +214,7 @@ export class ProfilesService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
getConfigProxyForProfile <T extends Profile> (profile: PartialProfile<T>, skipUserDefaults = false): T {
|
getConfigProxyForProfile <T extends Profile> (profile: PartialProfile<T>, skipUserDefaults = false): T {
|
||||||
const defaults = this.getProfileDefaults(profile).reduce(configMerge, {})
|
const defaults = this.getProfileDefaults(profile, skipUserDefaults).reduce(configMerge, {})
|
||||||
return new ConfigProxy(profile, defaults) as unknown as T
|
return new ConfigProxy(profile, defaults) as unknown as T
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user