Commit 3ff00277 authored by Tim Honcoop's avatar Tim Honcoop
Browse files

Removed logs

parent 9f7bdd90
Pipeline #2532 failed with stages
in 1 minute and 3 seconds
......@@ -240,7 +240,6 @@
<script>
import vueSlider from "vue-slider-component";
import colors from "@/colors";
import { hexToRgba } from "@coreui/coreui/dist/js/coreui-utilities";
export default {
name: "Settings",
......
......@@ -260,11 +260,11 @@ export default {
nextItemPassingFraction: 0,
// Next video
nextVideoUrl: "",
hasNextVideo: false
hasNextVideo: false,
};
},
components: {
Chart
Chart,
},
beforeMount() {
this.courseSlug = this.$route.params.courseid;
......@@ -312,8 +312,6 @@ export default {
}
},
setVideoData() {
console.log(this.videoData);
// Set url to the next item
if (this.videoData.next_item.category !== "") {
let result = util.parseItem(
......@@ -421,8 +419,8 @@ export default {
name: "Highs",
marker: {
color: colors.green,
size: 12
}
size: 12,
},
};
this.chartData[2] = {
x: [],
......@@ -431,21 +429,21 @@ export default {
name: "Lows",
marker: {
color: colors.red,
size: 12
}
size: 12,
},
};
this.chartData[0].x = [];
this.chartData[0].y = [];
this.chartData[0].name = "Video views over video runtime";
this.chartData[0].marker = { color: this.mainColor };
this.chartData[0].marker = { color: this.mainColor, };
this.chartLayout = {
xaxis: {
title: "Number of seconds",
tickformat: "%M:%S"
tickformat: "%M:%S",
},
yaxis: {
title: "Number of views"
}
title: "Number of views",
},
};
this.chartLayout.shapes = [];
let high = 0;
......@@ -483,7 +481,7 @@ export default {
getTime(seconds) {
let date = new Date(seconds * 1000);
return date.toISOString();
}
},
},
computed: {
large() {
......@@ -523,8 +521,8 @@ export default {
.split(" ")
.join("-")
.toLowerCase();
}
}
},
},
};
</script>
......
......@@ -160,7 +160,6 @@ export default {
util
.getVideos(this.courseId, this.$store.state.filters)
.then(response => {
console.log(response.data);
if (response.data.length > 0) {
this.isLoading = false;
this.lessons = util.convertToLessons(response.data);
......
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