Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wiki-js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
wiki-js
Commits
bcd32d44
Unverified
Commit
bcd32d44
authored
Jun 01, 2020
by
takumi9942
Committed by
GitHub
Jun 01, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: sidebar base64 decode (#1975)
parent
38918167
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
page.vue
client/themes/default/components/page.vue
+2
-2
No files found.
client/themes/default/components/page.vue
View file @
bcd32d44
...
...
@@ -473,10 +473,10 @@ export default {
}
},
sidebarDecoded
()
{
return
JSON
.
parse
(
atob
(
this
.
sidebar
))
return
JSON
.
parse
(
Buffer
.
from
(
this
.
sidebar
,
'base64'
).
toString
(
))
},
tocDecoded
()
{
return
JSON
.
parse
(
atob
(
this
.
toc
))
return
JSON
.
parse
(
Buffer
.
from
(
this
.
toc
,
'base64'
).
toString
(
))
}
},
created
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment