Skip to content

Commit

Permalink
fix(indiekit): merge values when adding a locale
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrobertlloyd committed Oct 12, 2020
1 parent ccb0eea commit 767c6dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/indiekit/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const Indiekit = class {
}

addLocale(language, translations) {
Object.assign(this.application.locales[language], translations);
this.application.locales[language] = _.merge(this.application.locales[language], translations);
}

addNavigation(item) {
Expand Down

0 comments on commit 767c6dd

Please sign in to comment.