1
0
mirror of https://github.com/Eugeny/tabby.git synced 2025-07-20 10:28:05 +00: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

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