[WEB-4339] fix: projects dropdown shows all projects (#7238)
* fix: projects drop only shows joined project * refactor: removed unused things from header
This commit is contained in:
parent
d65f0e264e
commit
171099667e
2 changed files with 3 additions and 45 deletions
|
|
@ -9,7 +9,7 @@ import { ProjectSelect } from "./select/project";
|
|||
|
||||
const AnalyticsFilterActions = observer(() => {
|
||||
const { selectedProjects, selectedDuration, updateSelectedProjects, updateSelectedDuration } = useAnalytics();
|
||||
const { workspaceProjectIds } = useProject();
|
||||
const { joinedProjectIds } = useProject();
|
||||
return (
|
||||
<div className="flex items-center justify-end gap-2">
|
||||
<ProjectSelect
|
||||
|
|
@ -17,7 +17,7 @@ const AnalyticsFilterActions = observer(() => {
|
|||
onChange={(val) => {
|
||||
updateSelectedProjects(val ?? []);
|
||||
}}
|
||||
projectIds={workspaceProjectIds}
|
||||
projectIds={joinedProjectIds}
|
||||
/>
|
||||
{/* <DurationDropdown
|
||||
buttonVariant="border-with-text"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue