mirror of
https://github.com/Eugeny/tabby.git
synced 2024-12-09 06:20:22 +08:00
wip fix(core): getConfigProxyForProfile skipUserDefaults param never used c1e03ed532
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 {
|
||||
const defaults = this.getProfileDefaults(profile).reduce(configMerge, {})
|
||||
const defaults = this.getProfileDefaults(profile, skipUserDefaults).reduce(configMerge, {})
|
||||
return new ConfigProxy(profile, defaults) as unknown as T
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user