Skip to content
Snippets Groups Projects
Commit 3a90ab18 authored by jackie / Andrea Ida Malkah Klaura's avatar jackie / Andrea Ida Malkah Klaura
Browse files

fixed bug in loading categories

parent 7f0bfb17
No related branches found
No related tags found
No related merge requests found
......@@ -476,7 +476,7 @@ export default {
this.current.languages = []
var loadingError = false
if (this.shows[this.currentShow].language.length === 0) {
this.loaded.categories = true
this.loaded.languages = true
} else {
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 => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment