Commit 3a90ab18 authored by Andrea Ida Malkah Klaura's avatar Andrea Ida Malkah Klaura
Browse files

fixed bug in loading categories

parent 7f0bfb17
......@@ -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 => {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment