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
}