Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
anthologie-pop
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ecrinum
anthologia
anthologie-pop
Commits
7961a28d
Verified
Commit
7961a28d
authored
5 years ago
by
Louis-Olivier Brassard
Browse files
Options
Downloads
Patches
Plain Diff
epigram: Resolution du bug changement de langue
parent
5db413ba
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/components/ParcoursSingleComponent.vue
+0
-2
0 additions, 2 deletions
src/components/ParcoursSingleComponent.vue
src/components/partials/epigram/Translation.vue
+2
-1
2 additions, 1 deletion
src/components/partials/epigram/Translation.vue
with
2 additions
and
3 deletions
src/components/ParcoursSingleComponent.vue
+
0
−
2
View file @
7961a28d
...
...
@@ -193,8 +193,6 @@ export default {
.
then
(
function
(
epigramData
)
{
self
.
$set
(
self
,
'
epigram
'
,
epigramData
)
console
.
log
(
'
EPIGRAM
'
,
self
.
epigram
)
// We have the epigram;
// however, the `authors` object is incomplete
var
incompleteAuthors
=
self
.
epigram
.
authors
...
...
This diff is collapsed.
Click to expand it.
src/components/partials/epigram/Translation.vue
+
2
−
1
View file @
7961a28d
...
...
@@ -101,6 +101,8 @@ export default {
return
versions
[
i
]
}
}
// if we got here, we didn't return yet, so default to parseVersion method
return
self
.
parseVersion
(
versions
)
}
else
{
// fall back to global parseVersion if not set
return
self
.
parseVersion
(
versions
)
...
...
@@ -110,7 +112,6 @@ export default {
var
self
=
this
for
(
var
i
=
0
;
i
<
self
.
availableVersions
.
length
;
i
++
)
{
if
(
self
.
availableVersions
[
i
]
===
languageId
)
{
console
.
log
(
'
about to setCustomLanguage
'
,
self
.
availableVersions
[
i
])
self
.
selectedLanguage
=
self
.
availableVersions
[
i
]
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment