Disable filtering for study attribute

This commit is contained in:
keisuke-umezawa
2024-05-02 15:13:42 +09:00
parent 4fccaf1666
commit 7cdcc7d028
2 changed files with 4 additions and 0 deletions
@@ -33,11 +33,13 @@ export const PreferentialAnalytics: FC<{ studyId: number }> = ({ studyId }) => {
header: "Key",
footer: (info) => info.column.id,
enableSorting: true,
enableColumnFilter: false,
}),
columnHelper.accessor("value", {
header: "Value",
footer: (info) => info.column.id,
enableSorting: true,
enableColumnFilter: false,
}),
]
return (
@@ -60,11 +60,13 @@ export const StudyHistory: FC<{ studyId: number }> = ({ studyId }) => {
header: "Key",
footer: (info) => info.column.id,
enableSorting: true,
enableColumnFilter: false,
}),
columnHelper.accessor("value", {
header: "Value",
footer: (info) => info.column.id,
enableSorting: true,
enableColumnFilter: false,
}),
]
const trials: Trial[] = studyDetail?.trials || []