diff options
Diffstat (limited to 'src/data/things')
-rw-r--r-- | src/data/things/language.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data/things/language.js b/src/data/things/language.js index 98ab9bc7..ec62de40 100644 --- a/src/data/things/language.js +++ b/src/data/things/language.js @@ -101,7 +101,7 @@ export class Language extends Thing { dependencies: ['strings', 'inheritedStrings', 'escapeHTML'], compute({strings, inheritedStrings, escapeHTML}) { if (!(strings || inheritedStrings) || !escapeHTML) return null; - const allStrings = {...(inheritedStrings ?? {}), ...(strings ?? {})}; + const allStrings = {...inheritedStrings, ...strings}; return Object.fromEntries( Object.entries(allStrings).map(([k, v]) => [k, escapeHTML(v)]) ); |