From 85a8af5125012df46767128bafd1871b9fd05b0f Mon Sep 17 00:00:00 2001 From: rahulramesha <71900764+rahulramesha@users.noreply.github.com> Date: Fri, 16 Feb 2024 18:20:44 +0530 Subject: [PATCH] fix: spreadsheet views sorting (#3683) * fix sorting in spreadsheet all issues * removing focus border since it is being handled globally --- .../issues/issue-layouts/roots/all-issue-layout-root.tsx | 2 +- .../issues/issue-layouts/spreadsheet/base-spreadsheet-root.tsx | 2 +- .../issues/issue-layouts/spreadsheet/issue-column.tsx | 2 +- .../issue-layouts/spreadsheet/spreadsheet-header-column.tsx | 2 +- web/store/issue/helpers/issue-helper.store.ts | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/web/components/issues/issue-layouts/roots/all-issue-layout-root.tsx b/web/components/issues/issue-layouts/roots/all-issue-layout-root.tsx index 59cf5b9af..1a77ed5fa 100644 --- a/web/components/issues/issue-layouts/roots/all-issue-layout-root.tsx +++ b/web/components/issues/issue-layouts/roots/all-issue-layout-root.tsx @@ -159,7 +159,7 @@ export const AllIssueLayoutRoot: React.FC = observer(() => { globalViewId.toString() ); }, - [updateFilters, workspaceSlug] + [updateFilters, workspaceSlug, globalViewId] ); const renderQuickActions = useCallback( diff --git a/web/components/issues/issue-layouts/spreadsheet/base-spreadsheet-root.tsx b/web/components/issues/issue-layouts/spreadsheet/base-spreadsheet-root.tsx index e4efc5137..a94455a0b 100644 --- a/web/components/issues/issue-layouts/spreadsheet/base-spreadsheet-root.tsx +++ b/web/components/issues/issue-layouts/spreadsheet/base-spreadsheet-root.tsx @@ -88,7 +88,7 @@ export const BaseSpreadsheetRoot = observer((props: IBaseSpreadsheetRoot) => { viewId ); }, - [issueFiltersStore, projectId, workspaceSlug, viewId] + [issueFiltersStore?.updateFilters, projectId, workspaceSlug, viewId] ); const renderQuickActions = useCallback( diff --git a/web/components/issues/issue-layouts/spreadsheet/issue-column.tsx b/web/components/issues/issue-layouts/spreadsheet/issue-column.tsx index 5d2e62fa5..20dd946df 100644 --- a/web/components/issues/issue-layouts/spreadsheet/issue-column.tsx +++ b/web/components/issues/issue-layouts/spreadsheet/issue-column.tsx @@ -38,7 +38,7 @@ export const IssueColumn = observer((props: Props) => { >