fix: view source of page version crash (#3297)
This commit is contained in:
parent
68fc51ad44
commit
92fe9d3e31
@ -86,6 +86,7 @@ export default {
|
||||
.source {
|
||||
pre > code {
|
||||
box-shadow: none;
|
||||
background-color: transparent;
|
||||
color: mc('grey', '800');
|
||||
font-family: 'Roboto Mono', sans-serif;
|
||||
font-weight: 400;
|
||||
|
@ -372,7 +372,8 @@ router.get(['/s', '/s/*'], async (req, res, next) => {
|
||||
page: {
|
||||
...page,
|
||||
...pageVersion
|
||||
}
|
||||
},
|
||||
effectivePermissions
|
||||
})
|
||||
} else {
|
||||
_.set(res.locals, 'pageMeta.title', page.title)
|
||||
|
Loading…
Reference in New Issue
Block a user