From 138d06868b06e25643c3c5cf56ee447928f1ac99 Mon Sep 17 00:00:00 2001 From: rahulramesha <71900764+rahulramesha@users.noreply.github.com> Date: Fri, 2 Feb 2024 14:50:23 +0530 Subject: [PATCH] fix: all issues spreadsheet sorting and kanban dnd for long lists (#3550) * fix all issues filter for spreadsheet view * fix kanban dnd with long lists --- .../issues/issue-layouts/kanban/base-kanban-root.tsx | 2 +- .../issue-layouts/roots/all-issue-layout-root.tsx | 10 ++++++++-- 2 files changed, 9 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 eb7005cbd..486d67625 100644 --- a/web/components/issues/issue-layouts/kanban/base-kanban-root.tsx +++ b/web/components/issues/issue-layouts/kanban/base-kanban-root.tsx @@ -237,7 +237,7 @@ export const BaseKanBanRoot: React.FC = observer((props: IBas )}
-
+
{/* drag and delete component */}
{ const handleDisplayFiltersUpdate = useCallback( (updatedDisplayFilter: Partial) => { - if (!workspaceSlug) return; + if (!workspaceSlug || !globalViewId) return; - updateFilters(workspaceSlug.toString(), undefined, EIssueFilterType.DISPLAY_FILTERS, { ...updatedDisplayFilter }); + updateFilters( + workspaceSlug.toString(), + undefined, + EIssueFilterType.DISPLAY_FILTERS, + { ...updatedDisplayFilter }, + globalViewId.toString() + ); }, [updateFilters, workspaceSlug] );