Web: don't deactivate current task when clicking on current job

This commit is contained in:
Sybren A. Stüvel 2022-05-19 14:28:54 +02:00
parent 4602ef2523
commit 03a021e14f

View File

@ -78,6 +78,8 @@ export default {
},
methods: {
onTableJobClicked(rowData) {
// Don't route to the current job, as that'll deactivate the current task.
if (rowData.id == this.jobID) return;
this._routeToJob(rowData.id);
},
onTableTaskClicked(rowData) {