Web: no longer do filtering when clicking on the 'status' table cell
Clicking on a job/task in their respective lists will now always activate it, regardless of where on the row was clicked. Managing the filters by clicking on the status was a nice idea, but was confusing in practice.
This commit is contained in:
parent
ae0f4a7ca4
commit
1ac72bd3fc
@ -144,13 +144,6 @@ export default {
|
||||
// store. There were some issues where navigating to another job would
|
||||
// overwrite the old job's ID, and this prevents that.
|
||||
const rowData = plain(row.getData());
|
||||
|
||||
// Depending on which cell was clicked, take a different action.
|
||||
const columnName = event.target.getAttribute("tabulator-field");
|
||||
if (columnName == "status") {
|
||||
this.toggleStatusFilter(rowData.status);
|
||||
return;
|
||||
}
|
||||
this.$emit("tableRowClicked", rowData);
|
||||
},
|
||||
toggleStatusFilter(status) {
|
||||
|
@ -140,13 +140,6 @@ export default {
|
||||
// store. There were some issues where navigating to another job would
|
||||
// overwrite the old job's ID, and this prevents that.
|
||||
const rowData = plain(row.getData());
|
||||
|
||||
// Depending on which cell was clicked, take a different action.
|
||||
const columnName = event.target.getAttribute("tabulator-field");
|
||||
if (columnName == "status") {
|
||||
this.toggleStatusFilter(rowData.status);
|
||||
return;
|
||||
}
|
||||
this.$emit("tableRowClicked", rowData);
|
||||
},
|
||||
toggleStatusFilter(status) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user