fix: add missing scriptJs and scriptCss to single page resolver (#5689)
This commit is contained in:
		
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							cf7abeaa94
						
					
				
				
					commit
					db0255cb7c
				
			| @@ -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() | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user