Skip to content

Commit f423c81

Browse files
committed
Fixed linit
1 parent 57a9266 commit f423c81

File tree

5 files changed

+15
-13
lines changed

5 files changed

+15
-13
lines changed

client/src/App.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export default {
5757
socketConnection() {
5858
if (this.socketConnection) return;
5959
60-
setTimeout(() => {
60+
setTimeout(() => {
6161
if (this.socketConnection) return;
6262
let options = {
6363
positionClass: "toast-bottom-left"
@@ -68,7 +68,7 @@ export default {
6868
"Connection Lost",
6969
options
7070
);
71-
}, 1000)
71+
}, 1000);
7272
},
7373
loginRequired: {
7474
handler(newValue) {

client/src/components/tasks/Task.vue

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,14 +129,13 @@ export default {
129129
130130
if (show) {
131131
setTimeout(() => {
132-
this.highlight = true
132+
this.highlight = true;
133133
this.$el.scrollIntoView({
134134
behavior: "smooth"
135135
});
136-
setTimeout(() => this.highlight = false, 1000)
137-
}, 200)
136+
setTimeout(() => (this.highlight = false), 1000);
137+
}, 200);
138138
}
139-
140139
}
141140
}
142141
};

client/src/views/AdminPanel.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ export default {
207207
this.axiosReqestError("Create User", error.response.data.message);
208208
});
209209
},
210-
editUser(user) {},
210+
editUser() {},
211211
deleteUser(user) {
212212
let yes = confirm(
213213
"Are you sure you want to delete " +

client/src/views/Dataset.vue

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -351,13 +351,18 @@ export default {
351351
let options = {
352352
progressBar: true,
353353
positionClass: "toast-bottom-left",
354-
onclick: (r) => {
355-
console.log(r)
354+
onclick: () => {
356355
let id = response.data.id;
357-
this.$router.push({ path: '/tasks', query: {id: id}});
356+
this.$router.push({ path: "/tasks", query: { id: id } });
358357
}
359358
};
360-
this.$toastr.success(`Scanning task created with id ${response.data.id} (click to view).`, "Scanning Dataset", options);
359+
this.$toastr.success(
360+
`Scanning task created with id ${
361+
response.data.id
362+
} (click to view).`,
363+
"Scanning Dataset",
364+
options
365+
);
361366
})
362367
.catch(error => {
363368
this.axiosReqestError(

client/src/views/Tasks.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,11 @@ export default {
5555
.finally(() => this.removeProcess(process));
5656
},
5757
showTask(taskId) {
58-
console.log("Showing " + taskId);
5958
if (taskId == null) return;
6059
6160
let task = this.tasks.find(t => t.id == taskId);
6261
if (task == null) return;
6362
task.show = true;
64-
console.log(task);
6563
}
6664
},
6765
watch: {

0 commit comments

Comments
 (0)