Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

[WEB-4698]fix: work items modal select/deselect button #7599

Vamsi Krishnacbcdd8656967
diff --git a/apps/web/core/components/core/modals/existing-issues-list-modal.tsx b/apps/web/core/components/core/modals/existing-issues-list-modal.tsx
index 24546c8da9..f5ecf81bb6 100644
--- a/apps/web/core/components/core/modals/existing-issues-list-modal.tsx
+++ b/apps/web/core/components/core/modals/existing-issues-list-modal.tsx
@@ -20,6 +20,7 @@ import { IssueIdentifier } from "@/plane-web/components/issues/issue-details/iss
import { ProjectService } from "@/services/project";
// components
import { IssueSearchModalEmptyState } from "./issue-search-modal-empty-state";
+import { filter } from "lodash";
type Props = {
workspaceSlug: string | undefined;
@@ -320,18 +321,19 @@ export const ExistingIssuesListModal: React.FC<Props> = (props) => {
)}
</Combobox.Options>
</Combobox>
- <div className="flex justify-between items-center">
+ <div className="flex justify-between items-center p-3">
<Button
variant="link-primary"
size="sm"
onClick={handleSelectIssues}
disabled={filteredIssues.length === 0}
+ className={filteredIssues.length === 0 ? "p-0" : ""}
>
{selectedIssues.length === issues.length
? t("issue.select.deselect_all")
: t("issue.select.select_all")}
</Button>
- <div className="flex items-center justify-end gap-2 p-3">
+ <div className="flex items-center justify-end gap-2">
<Button variant="neutral-primary" size="sm" onClick={handleClose}>
{t("common.cancel")}
</Button>