mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
Fix logic for load more in Kanban
This commit is contained in:
parent
26e8cd1399
commit
eea1cce926
@ -179,7 +179,8 @@ export const KanbanGroup = observer((props: IKanbanGroup) => {
|
|||||||
|
|
||||||
{provided.placeholder}
|
{provided.placeholder}
|
||||||
|
|
||||||
{shouldLoadMore && isSubGroup ? (
|
{shouldLoadMore &&
|
||||||
|
(isSubGroup ? (
|
||||||
<div
|
<div
|
||||||
className="w-full sticky bottom-0 p-3 text-sm text-custom-primary-100 hover:underline cursor-pointer"
|
className="w-full sticky bottom-0 p-3 text-sm text-custom-primary-100 hover:underline cursor-pointer"
|
||||||
onClick={() => loadMoreIssues(groupId, sub_group_id)}
|
onClick={() => loadMoreIssues(groupId, sub_group_id)}
|
||||||
@ -189,7 +190,7 @@ export const KanbanGroup = observer((props: IKanbanGroup) => {
|
|||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
<KanbanIssueBlockLoader ref={intersectionRef} />
|
<KanbanIssueBlockLoader ref={intersectionRef} />
|
||||||
)}
|
))}
|
||||||
|
|
||||||
{enableQuickIssueCreate && !disableIssueCreation && (
|
{enableQuickIssueCreate && !disableIssueCreation && (
|
||||||
<div className="w-full bg-custom-background-90 py-0.5 sticky bottom-0">
|
<div className="w-full bg-custom-background-90 py-0.5 sticky bottom-0">
|
||||||
|
Loading…
Reference in New Issue
Block a user