mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +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',
|
||||
accessor: 'name',
|
||||
filterName: 'name',
|
||||
minWidth: 100,
|
||||
Cell: ({ value, row: { original } }: any) => (
|
||||
<HighlightCell
|
||||
@ -164,6 +165,8 @@ export const ArchiveTable = ({
|
||||
getSearchContext,
|
||||
} = useSearch(columns, searchValue, archivedFeatures);
|
||||
|
||||
debugger;
|
||||
|
||||
const data = useMemo(
|
||||
() => (loading ? featuresPlaceholder : searchedData),
|
||||
[searchedData, loading]
|
||||
@ -260,6 +263,7 @@ export const ArchiveTable = ({
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
return (
|
||||
<PageContent
|
||||
isLoading={loading}
|
||||
|
Loading…
Reference in New Issue
Block a user