Skip to content

Commit 4de389e

Browse files
committed
fix: lint
1 parent 4688202 commit 4de389e

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

frontend/src/task-single/task-single.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module.exports = app => app.component('task-single', {
2525
const path = `/tasks/${encodeURIComponent(name || '')}`;
2626
const query = this.$route.query?.status ? { status: this.$route.query.status } : {};
2727
return { path, query };
28-
},
28+
}
2929
},
3030
watch: {
3131
'$route.params': {
@@ -82,11 +82,11 @@ module.exports = app => app.component('task-single', {
8282
async confirmRescheduleTask() {
8383
if (!this.newScheduledTime) return;
8484
await api.Task.rescheduleTask({ taskId: this.selectedTask.id, scheduledAt: this.newScheduledTime });
85-
this.$toast.success({ title: 'Task Rescheduled', text: `Task ${this.selectedTask.id} has been rescheduled`, });
86-
this.showRescheduleModal = false;
87-
this.selectedTask = null;
88-
this.newScheduledTime = '';
89-
await this.loadTask();
85+
this.$toast.success({ title: 'Task Rescheduled', text: `Task ${this.selectedTask.id} has been rescheduled` });
86+
this.showRescheduleModal = false;
87+
this.selectedTask = null;
88+
this.newScheduledTime = '';
89+
await this.loadTask();
9090
},
9191
async confirmRunTask() {
9292
await api.Task.runTask({ taskId: this.selectedTask.id });
@@ -104,10 +104,10 @@ module.exports = app => app.component('task-single', {
104104
},
105105
async confirmCancelTask() {
106106
await api.Task.cancelTask({ taskId: this.selectedTask.id });
107-
this.$toast.success({ title: 'Task Cancelled', text: `Task ${this.selectedTask.id} has been cancelled` });
108-
this.showCancelModal = false;
109-
this.selectedTask = null;
110-
this.goBack();
107+
this.$toast.success({ title: 'Task Cancelled', text: `Task ${this.selectedTask.id} has been cancelled` });
108+
this.showCancelModal = false;
109+
this.selectedTask = null;
110+
this.goBack();
111111
}
112112
},
113113
mounted() {

frontend/src/tasks/task-details/task-details.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ module.exports = app => app.component('task-details', {
8181
requestAnimationFrame(() => this.ensureStatusChart());
8282
});
8383
}
84-
},
84+
}
8585
},
8686
methods: {
8787
destroyStatusChart() {

0 commit comments

Comments
 (0)