File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
webapp/client/src/edge/um Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -173,9 +173,9 @@ const ProjectTable = (props) => {
173173 enableEditing : false ,
174174 } ,
175175 {
176+ accessorFn : ( originalRow ) => workflowList [ originalRow . type ] . label , // Use accessorFn to create the display string for filtering
176177 header : 'Type' ,
177178 accessorKey : 'type' ,
178- Cell : ( { cell } ) => < > { workflowList [ cell . getValue ( ) ] . label } </ > ,
179179 enableEditing : false ,
180180 } ,
181181 {
Original file line number Diff line number Diff line change @@ -24,9 +24,9 @@ const ProjectTableViewOnly = (props) => {
2424 } ,
2525 { header : 'Description' , accessorKey : 'desc' } ,
2626 {
27+ accessorFn : ( originalRow ) => workflowList [ originalRow . type ] . label , // Use accessorFn to create the display string for filtering
2728 header : 'Type' ,
2829 accessorKey : 'type' ,
29- Cell : ( { cell } ) => < > { workflowList [ cell . getValue ( ) ] . label } </ > ,
3030 enableEditing : false ,
3131 } ,
3232 {
Original file line number Diff line number Diff line change @@ -16,9 +16,9 @@ const JobQueue = () => {
1616 header : 'project' ,
1717 } ,
1818 {
19+ accessorFn : ( originalRow ) => workflowList [ originalRow . type ] . label , // Use accessorFn to create the display string for filtering
1920 accessorKey : 'type' , //normal accessorKey
2021 header : 'Type' ,
21- Cell : ( { cell } ) => < > { workflowList [ cell . getValue ( ) ] . label } </ > ,
2222 } ,
2323 {
2424 accessorKey : 'status' ,
You can’t perform that action at this time.
0 commit comments