From 139c0857ebc22a20c8bd545101dd8b832ac6d6f9 Mon Sep 17 00:00:00 2001 From: rahulramesha <71900764+rahulramesha@users.noreply.github.com> Date: Thu, 30 Nov 2023 12:22:43 +0530 Subject: [PATCH] fix: quick add positioning (#2949) * fix quick add posutioning for kanban and spreadsheet * fix kanban quick add project identifier --- web/components/issues/issue-layouts/kanban/default.tsx | 2 +- .../issues/issue-layouts/kanban/quick-add-issue-form.tsx | 4 ++-- .../issues/issue-layouts/spreadsheet/spreadsheet-view.tsx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/web/components/issues/issue-layouts/kanban/default.tsx b/web/components/issues/issue-layouts/kanban/default.tsx index 931ea6ce7..e1e3f48b7 100644 --- a/web/components/issues/issue-layouts/kanban/default.tsx +++ b/web/components/issues/issue-layouts/kanban/default.tsx @@ -102,7 +102,7 @@ const GroupByKanBan: React.FC = observer((props) => { )}
diff --git a/web/components/issues/issue-layouts/kanban/quick-add-issue-form.tsx b/web/components/issues/issue-layouts/kanban/quick-add-issue-form.tsx index 9d7d01fb9..c27138ac9 100644 --- a/web/components/issues/issue-layouts/kanban/quick-add-issue-form.tsx +++ b/web/components/issues/issue-layouts/kanban/quick-add-issue-form.tsx @@ -15,7 +15,7 @@ import { createIssuePayload } from "helpers/issue.helper"; import { IIssue, IProject } from "types"; const Inputs = (props: any) => { - const { register, setFocus, projectDetails } = props; + const { register, setFocus, projectDetail } = props; useEffect(() => { setFocus("name"); @@ -23,7 +23,7 @@ const Inputs = (props: any) => { return (
-

{projectDetails?.identifier ?? "..."}

+

{projectDetail?.identifier ?? "..."}

= observer((props) => {
{issues && issues.length > 0 ? ( <>