mirror of
https://github.com/idanoo/autobrr
synced 2025-07-26 18:29:14 +00:00
feature: clickable filter link (#81)
This commit is contained in:
parent
47031358b0
commit
dbf7ce0deb
3 changed files with 19 additions and 1 deletions
|
@ -145,6 +145,12 @@ export function ReleaseStatusCell({ value, column, row }: ReleaseStatusCellProps
|
|||
)
|
||||
}
|
||||
|
||||
export function IndexerCell({ value, column, row }: any) {
|
||||
return (
|
||||
<div className="text-sm font-medium text-gray-900 dark:text-gray-500" title={value}>{value}</div>
|
||||
)
|
||||
}
|
||||
|
||||
const initialState = {
|
||||
queryPageIndex: 0,
|
||||
queryPageSize: 10,
|
||||
|
@ -202,6 +208,7 @@ function Table() {
|
|||
{
|
||||
Header: "Indexer",
|
||||
accessor: 'indexer',
|
||||
Cell: IndexerCell,
|
||||
Filter: SelectColumnFilter, // new
|
||||
filter: 'includes',
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue