From b1bf12591654e4734b3251e6f90f646355fccc17 Mon Sep 17 00:00:00 2001 From: Aaryan Khandelwal <65252264+aaryan610@users.noreply.github.com> Date: Thu, 22 Feb 2024 20:16:06 +0530 Subject: [PATCH] [WEB-521] fix: kanban column collapse toggle not working (#3755) * fix: kanban collapse toggle not working * style: update dropdown position --- .../issues/issue-layouts/kanban/base-kanban-root.tsx | 12 +++++++++--- .../issue-layouts/kanban/headers/group-by-card.tsx | 1 + 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/web/components/issues/issue-layouts/kanban/base-kanban-root.tsx b/web/components/issues/issue-layouts/kanban/base-kanban-root.tsx index d2f0d5582..3b31f6b67 100644 --- a/web/components/issues/issue-layouts/kanban/base-kanban-root.tsx +++ b/web/components/issues/issue-layouts/kanban/base-kanban-root.tsx @@ -225,9 +225,15 @@ export const BaseKanBanRoot: React.FC = observer((props: IBas let _kanbanFilters = issuesFilter?.issueFilters?.kanbanFilters?.[toggle] || []; if (_kanbanFilters.includes(value)) _kanbanFilters = _kanbanFilters.filter((_value) => _value != value); else _kanbanFilters.push(value); - issuesFilter.updateFilters(workspaceSlug.toString(), projectId.toString(), EIssueFilterType.KANBAN_FILTERS, { - [toggle]: _kanbanFilters, - }); + issuesFilter.updateFilters( + workspaceSlug.toString(), + projectId.toString(), + EIssueFilterType.KANBAN_FILTERS, + { + [toggle]: _kanbanFilters, + }, + viewId + ); } }; diff --git a/web/components/issues/issue-layouts/kanban/headers/group-by-card.tsx b/web/components/issues/issue-layouts/kanban/headers/group-by-card.tsx index f88bb6b92..ec9742baf 100644 --- a/web/components/issues/issue-layouts/kanban/headers/group-by-card.tsx +++ b/web/components/issues/issue-layouts/kanban/headers/group-by-card.tsx @@ -138,6 +138,7 @@ export const HeaderGroupByCard: FC = observer((props) => { } + placement="bottom-end" > {