diff --git a/web/components/issues/issue-layouts/filters/header/filters/project.tsx b/web/components/issues/issue-layouts/filters/header/filters/project.tsx index b3924cd34..26b0bb46b 100644 --- a/web/components/issues/issue-layouts/filters/header/filters/project.tsx +++ b/web/components/issues/issue-layouts/filters/header/filters/project.tsx @@ -23,9 +23,9 @@ export const FilterProjects: React.FC = observer((props) => { const [itemsToRender, setItemsToRender] = useState(5); const [previewEnabled, setPreviewEnabled] = useState(true); // store - const { getProjectById, workspaceProjectIds } = useProject(); + const { getProjectById, joinedProjectIds } = useProject(); // derived values - const projects = workspaceProjectIds?.map((projectId) => getProjectById(projectId)!) ?? null; + const projects = joinedProjectIds?.map((projectId) => getProjectById(projectId)!) ?? null; const appliedFiltersCount = appliedFilters?.length ?? 0; const sortedOptions = useMemo(() => {