diff --git a/src/features/Projects/Components/Categories/Categories.tsx b/src/features/Projects/Components/Categories/Categories.tsx index af71e8b..b103d13 100644 --- a/src/features/Projects/Components/Categories/Categories.tsx +++ b/src/features/Projects/Components/Categories/Categories.tsx @@ -20,6 +20,7 @@ const colors = [ export type Category = Pick interface Props { + filtersActive?: boolean; value: Category | null onChange?: (v: Category | null) => void } @@ -60,7 +61,7 @@ export default function Categories(props: Props) { flex flex-col font-medium hover:bg-gray-100 active:bg-gray-200 rounded-t-8 px-16 py-16 min-w-max ${props.value === null ? "text-primary-500 border-b-2 border-primary-500" : "text-gray-500"} `} - >All projects + >{props.filtersActive ? "Search results" : "All projects"} {sortedByAppsCount.map((category, idx) =>