Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
AURA
dashboard
Commits
3a90ab18
Commit
3a90ab18
authored
Feb 16, 2018
by
Andrea Ida Malkah Klaura
Browse files
fixed bug in loading categories
parent
7f0bfb17
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/components/ShowManager.vue
View file @
3a90ab18
...
@@ -476,7 +476,7 @@ export default {
...
@@ -476,7 +476,7 @@ export default {
this
.
current
.
languages
=
[]
this
.
current
.
languages
=
[]
var
loadingError
=
false
var
loadingError
=
false
if
(
this
.
shows
[
this
.
currentShow
].
language
.
length
===
0
)
{
if
(
this
.
shows
[
this
.
currentShow
].
language
.
length
===
0
)
{
this
.
loaded
.
categori
es
=
true
this
.
loaded
.
languag
es
=
true
}
else
{
}
else
{
for
(
var
i
in
this
.
shows
[
this
.
currentShow
].
language
)
{
for
(
var
i
in
this
.
shows
[
this
.
currentShow
].
language
)
{
axios
.
get
(
process
.
env
.
API_STEERING
+
'
languages/
'
+
this
.
shows
[
this
.
currentShow
].
language
[
i
],
{
withCredentials
:
true
}).
then
(
response
=>
{
axios
.
get
(
process
.
env
.
API_STEERING
+
'
languages/
'
+
this
.
shows
[
this
.
currentShow
].
language
[
i
],
{
withCredentials
:
true
}).
then
(
response
=>
{
...
...
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