From 56a35e74bbf6782f6275baeb3fdd716a8d5e78c5 Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com> Date: Sat, 24 Jun 2023 01:25:18 +0530 Subject: [PATCH] fix: spreadsheet bug fixes (#1385) * fix: sub issue accordion fix * chore: assignees sort order updated --- apps/app/components/issues/delete-issue-modal.tsx | 1 + apps/app/constants/spreadsheet.ts | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/app/components/issues/delete-issue-modal.tsx b/apps/app/components/issues/delete-issue-modal.tsx index 6ac9282ad..c4fb3b00a 100644 --- a/apps/app/components/issues/delete-issue-modal.tsx +++ b/apps/app/components/issues/delete-issue-modal.tsx @@ -99,6 +99,7 @@ export const DeleteIssueModal: React.FC = ({ isOpen, handleClose, data, u }, false ); + mutate(spreadsheetFetchKey); } else { mutate( spreadsheetFetchKey, diff --git a/apps/app/constants/spreadsheet.ts b/apps/app/constants/spreadsheet.ts index d58ebc861..b55cbdb23 100644 --- a/apps/app/constants/spreadsheet.ts +++ b/apps/app/constants/spreadsheet.ts @@ -32,8 +32,8 @@ export const SPREADSHEET_COLUMN = [ colName: "Assignees", colSize: "128px", icon: UserGroupIcon, - ascendingOrder: "assignees__name", - descendingOrder: "-assignees__name", + ascendingOrder: "assignees__first_name", + descendingOrder: "-assignees__first_name", }, { propertyName: "labels",