Skip to content

Commit f2d311a

Browse files
committed
Last minute changes.
1 parent 5a744bb commit f2d311a

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

client/src/App.vue

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default Vue.extend({
3737
watch: {
3838
$route: {
3939
immediate: true,
40-
handler(to, from) {
40+
handler(to) {
4141
document.title = "WASP - " + (to.name || "Some Default Title");
4242
}
4343
}
@@ -108,7 +108,6 @@ export default Vue.extend({
108108
taskloop: function (): void {
109109
if (!this.$cookies.isKey("TaskId")) {
110110
this.id = "";
111-
console.log("stopped");
112111
return;
113112
}
114113
taskService
@@ -117,10 +116,7 @@ export default Vue.extend({
117116
this.evaluateCode(subtask);
118117
})
119118
.catch((err: string): void => {
120-
if (err.includes("finished")) {
121-
//(Go to results)
122-
console.log("finished");
123-
} else {
119+
if (!err.includes("finished")) {
124120
console.error(err); // Log the error
125121
this.$bvToast.toast(err, {
126122
title: "Error!",

client/src/components/TheProgressBar.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ export default Vue.extend({
5050
watch: {
5151
taskProgress: function () {
5252
if (this.taskProgress.value === this.taskProgress.max) {
53-
console.log("done");
5453
this.$emit("task-done");
5554
}
5655
}

0 commit comments

Comments
 (0)