Unverified Commit db0255cb authored by Rodrigo Ribeiro Gomes's avatar Rodrigo Ribeiro Gomes Committed by GitHub

fix: add missing scriptJs and scriptCss to single page resolver (#5689)

parent cf7abeaa
...@@ -159,7 +159,9 @@ module.exports = { ...@@ -159,7 +159,9 @@ module.exports = {
return { return {
...page, ...page,
locale: page.localeCode, locale: page.localeCode,
editor: page.editorKey editor: page.editorKey,
scriptJs: page.extra.js,
scriptCss: page.extra.css
} }
} else { } else {
throw new WIKI.Error.PageViewForbidden() throw new WIKI.Error.PageViewForbidden()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment