File tree Expand file tree Collapse file tree 1 file changed +20
-3
lines changed
frontend/src/components/Schemas/List Expand file tree Collapse file tree 1 file changed +20
-3
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ const List: React.FC = () => {
5050 const columns = React . useMemo < ColumnDef < SchemaSubject > [ ] > (
5151 ( ) => [
5252 {
53+ id : SchemaColumnsToSort . SUBJECT ,
5354 header : 'Subject' ,
5455 accessorKey : 'subject' ,
5556 // eslint-disable-next-line react/no-unstable-nested-components
@@ -61,10 +62,26 @@ const List: React.FC = () => {
6162 />
6263 ) ,
6364 } ,
64- { header : 'Id' , accessorKey : 'id' , size : 120 } ,
65- { header : 'Type' , accessorKey : 'schemaType' , size : 120 } ,
66- { header : 'Version' , accessorKey : 'version' , size : 120 } ,
6765 {
66+ id : SchemaColumnsToSort . ID ,
67+ header : 'Id' ,
68+ accessorKey : 'id' ,
69+ size : 120 ,
70+ } ,
71+ {
72+ id : SchemaColumnsToSort . TYPE ,
73+ header : 'Type' ,
74+ accessorKey : 'schemaType' ,
75+ size : 120 ,
76+ } ,
77+ {
78+ id : SchemaColumnsToSort . VERSION ,
79+ header : 'Version' ,
80+ accessorKey : 'version' ,
81+ size : 120 ,
82+ } ,
83+ {
84+ id : SchemaColumnsToSort . COMPATIBILITY ,
6885 header : 'Compatibility' ,
6986 accessorKey : 'compatibilityLevel' ,
7087 size : 160 ,
You can’t perform that action at this time.
0 commit comments