diff --git a/mod/workspace/getLocale.js b/mod/workspace/getLocale.js index ed21f7fdd..c4247ce60 100644 --- a/mod/workspace/getLocale.js +++ b/mod/workspace/getLocale.js @@ -25,8 +25,10 @@ module.exports = async (params) => { // A template exists for the locale key. if (Object.hasOwn(workspace.templates, params.locale)) { + let template = structuredClone(await getTemplate(workspace.templates[params.locale])) + // Merge the workspace template into workspace. - locale = merge(await getTemplate(workspace.templates[params.locale]), locale) + locale = merge(template, locale) } return locale