mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-28 00:06:53 +01:00
added filterName to column
This commit is contained in:
parent
854ffaf0b2
commit
b6beae95cc
@ -100,6 +100,7 @@ export const ArchiveTable = ({
|
|||||||
{
|
{
|
||||||
Header: 'Feature toggle Name',
|
Header: 'Feature toggle Name',
|
||||||
accessor: 'name',
|
accessor: 'name',
|
||||||
|
filterName: 'name',
|
||||||
minWidth: 100,
|
minWidth: 100,
|
||||||
Cell: ({ value, row: { original } }: any) => (
|
Cell: ({ value, row: { original } }: any) => (
|
||||||
<HighlightCell
|
<HighlightCell
|
||||||
@ -164,6 +165,8 @@ export const ArchiveTable = ({
|
|||||||
getSearchContext,
|
getSearchContext,
|
||||||
} = useSearch(columns, searchValue, archivedFeatures);
|
} = useSearch(columns, searchValue, archivedFeatures);
|
||||||
|
|
||||||
|
debugger;
|
||||||
|
|
||||||
const data = useMemo(
|
const data = useMemo(
|
||||||
() => (loading ? featuresPlaceholder : searchedData),
|
() => (loading ? featuresPlaceholder : searchedData),
|
||||||
[searchedData, loading]
|
[searchedData, loading]
|
||||||
@ -260,6 +263,7 @@ export const ArchiveTable = ({
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<PageContent
|
<PageContent
|
||||||
isLoading={loading}
|
isLoading={loading}
|
||||||
|
Loading…
Reference in New Issue
Block a user