2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-18 02:36:31 +00:00

Remove search on "Pending Tasks" table (#10018)

- Pending tasks are encoded into payload
- None of the interesting fields are searchable
This commit is contained in:
Oliver
2025-07-15 00:14:18 +10:00
committed by GitHub
parent 9f715337ec
commit ea00a50dfd

View File

@@ -39,7 +39,7 @@ export default function PendingTasksTable({
{ {
accessor: 'lock', accessor: 'lock',
title: t`Created`, title: t`Created`,
sortable: true, sortable: false,
switchable: false switchable: false
}, },
{ {
@@ -97,6 +97,7 @@ export default function PendingTasksTable({
afterBulkDelete: onRecordsUpdated, afterBulkDelete: onRecordsUpdated,
enableBulkDelete: user.isStaff(), enableBulkDelete: user.isStaff(),
enableSelection: true, enableSelection: true,
enableSearch: false,
tableActions: tableActions tableActions: tableActions
}} }}
/> />