@@ -13,12 +13,12 @@ import { requests } from "payload/dist/admin/api";
1313import { PluginCollectionConfig } from "../../index" ;
1414import { useConfig } from "payload/components/utilities" ;
1515import { SelectionProvider } from "payload/dist/admin/components/views/collections/List/SelectionProvider" ;
16- import ListControls from " payload/dist/admin/components/elements/ListControls" ;
16+ import { ListControls } from ' payload/dist/admin/components/elements/ListControls'
1717import DefaultList from "payload/dist/admin/components/views/collections/List/Default" ;
1818
1919const baseClass = 'scrumboard' ;
2020
21- export const WorkflowView = ( config : PluginCollectionConfig ) => ( props : ListProps ) => {
21+ const WorkflowView = ( config : PluginCollectionConfig ) => ( props : ListProps ) => {
2222
2323 const {
2424 collection,
@@ -37,6 +37,8 @@ export const WorkflowView = (config: PluginCollectionConfig) => (props: ListProp
3737 handleSortChange,
3838 resetParams,
3939 data,
40+ titleField,
41+ handleSearchChange
4042 } = props ;
4143
4244 const { i18n} = useTranslation ( 'general' ) ;
@@ -91,11 +93,13 @@ export const WorkflowView = (config: PluginCollectionConfig) => (props: ListProp
9193 />
9294
9395 < ListControls
94- collection = { collection }
95- modifySearchQuery = { modifySearchParams }
96- handleSortChange = { handleSortChange }
97- handleWhereChange = { handleWhereChange }
98- resetParams = { resetParams }
96+ collection = { collection }
97+ handleSearchChange = { handleSearchChange }
98+ handleSortChange = { handleSortChange }
99+ handleWhereChange = { handleWhereChange }
100+ modifySearchQuery = { modifySearchParams }
101+ resetParams = { resetParams }
102+ titleField = { titleField }
99103 />
100104
101105 < Board
@@ -109,3 +113,6 @@ export const WorkflowView = (config: PluginCollectionConfig) => (props: ListProp
109113 </ SelectionProvider >
110114 </ div >
111115}
116+
117+
118+ export default WorkflowView ;
0 commit comments