1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-11-23 05:03:36 +03:00

wip fix(core): getConfigProxyForProfile skipUserDefaults param never used c1e03ed532

This commit is contained in:
Clem Fern 2023-07-22 22:31:26 +02:00
parent 5ba6bfbd7d
commit 4d146941f4

View File

@ -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
}