1
0
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:
andreas-unleash 2022-06-08 13:54:12 +03:00
parent 854ffaf0b2
commit b6beae95cc

View File

@ -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}