From 93da220c4ab0cfb3726542ed42c7e9dd02c9537f Mon Sep 17 00:00:00 2001 From: Dakshesh Jain <65905942+dakshesh14@users.noreply.github.com> Date: Tue, 18 Jul 2023 15:28:12 +0530 Subject: [PATCH] fix: same empty state coming for all issue list related UI (#1547) --- apps/app/components/core/issues-view.tsx | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/apps/app/components/core/issues-view.tsx b/apps/app/components/core/issues-view.tsx index 3bb922ece..b7d5b75bb 100644 --- a/apps/app/components/core/issues-view.tsx +++ b/apps/app/components/core/issues-view.tsx @@ -577,16 +577,36 @@ export const IssuesView: React.FC = ({ issueView === "gantt_chart" && )} - ) : ( + ) : router.query.view === "archived-issues" ? ( { router.push(`/${workspaceSlug}/projects/${projectId}/settings/automations`); }} /> + ) : ( + } + onClick={() => { + const e = new KeyboardEvent("keydown", { + key: "c", + }); + document.dispatchEvent(e); + }} + /> ) ) : (