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
7a582f71
Commit
7a582f71
authored
Aug 31, 2019
by
Nick
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: incorrect default lang selected in page-selector component (#1005)
parent
28c443c3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
nav-header.vue
client/components/common/nav-header.vue
+1
-1
page-selector.vue
client/components/common/page-selector.vue
+1
-1
No files found.
client/components/common/nav-header.vue
View file @
7a582f71
...
@@ -193,7 +193,7 @@
...
@@ -193,7 +193,7 @@
v-icon(color='grey') mdi-account-circle
v-icon(color='grey') mdi-account-circle
span
{{
$t
(
'common:header.login'
)
}}
span
{{
$t
(
'common:header.login'
)
}}
page-selector(mode='create', v-model='newPageModal', :open-handler='pageNewCreate')
page-selector(mode='create', v-model='newPageModal', :open-handler='pageNewCreate'
, :locale='locale'
)
page-delete(v-model='deletePageModal', v-if='path && path.length')
page-delete(v-model='deletePageModal', v-if='path && path.length')
</
template
>
</
template
>
...
...
client/components/common/page-selector.vue
View file @
7a582f71
...
@@ -108,7 +108,7 @@ export default {
...
@@ -108,7 +108,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
searchLoading
:
false
,
searchLoading
:
false
,
currentLocale
:
'en'
,
currentLocale
:
siteConfig
.
lang
,
currentPath
:
'new-page'
,
currentPath
:
'new-page'
,
tree
:
[],
tree
:
[],
treeChildren
:
[],
treeChildren
:
[],
...
...
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