From eea1cce9264dc8a2e95aab68fe527afb2207dc2b Mon Sep 17 00:00:00 2001 From: rahulramesha Date: Tue, 26 Mar 2024 12:28:28 +0530 Subject: [PATCH] Fix logic for load more in Kanban --- .../issue-layouts/kanban/kanban-group.tsx | 23 ++++++++++--------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/web/components/issues/issue-layouts/kanban/kanban-group.tsx b/web/components/issues/issue-layouts/kanban/kanban-group.tsx index 30f7ce75f..0713ede4e 100644 --- a/web/components/issues/issue-layouts/kanban/kanban-group.tsx +++ b/web/components/issues/issue-layouts/kanban/kanban-group.tsx @@ -179,17 +179,18 @@ export const KanbanGroup = observer((props: IKanbanGroup) => { {provided.placeholder} - {shouldLoadMore && isSubGroup ? ( -
loadMoreIssues(groupId, sub_group_id)} - > - {" "} - Load more ↓ -
- ) : ( - - )} + {shouldLoadMore && + (isSubGroup ? ( +
loadMoreIssues(groupId, sub_group_id)} + > + {" "} + Load more ↓ +
+ ) : ( + + ))} {enableQuickIssueCreate && !disableIssueCreation && (