diff --git a/apps/app/components/core/issues-view.tsx b/apps/app/components/core/issues-view.tsx index 3585ac871..520b5be17 100644 --- a/apps/app/components/core/issues-view.tsx +++ b/apps/app/components/core/issues-view.tsx @@ -388,35 +388,43 @@ export const IssuesView: React.FC = ({ handleClose={() => setTransferIssuesModal(false)} isOpen={transferIssuesModal} /> -
- - {Object.keys(filters).length > 0 && nullFilters.length !== Object.keys(filters).length && ( - { - if (viewId) { - setFilters({}, true); - setToastAlert({ - title: "View updated", - message: "Your view has been updated", - type: "success", - }); - } else - setCreateViewModal({ - query: filters, - }); - }} - className="flex items-center gap-2 text-sm" + {issueView !== "calendar" && ( +
+
- {!viewId && } - {viewId ? "Update" : "Save"} view - - )} -
- - {Object.keys(filters).length > 0 && nullFilters.length !== Object.keys(filters).length && ( -
+ + {Object.keys(filters).length > 0 && + nullFilters.length !== Object.keys(filters).length && ( + { + if (viewId) { + setFilters({}, true); + setToastAlert({ + title: "View updated", + message: "Your view has been updated", + type: "success", + }); + } else + setCreateViewModal({ + query: filters, + }); + }} + className="flex items-center gap-2 text-sm" + > + {!viewId && } + {viewId ? "Update" : "Save"} view + + )} +
+ {Object.keys(filters).length > 0 && + nullFilters.length !== Object.keys(filters).length && ( +
+ )} +
)} - {(provided, snapshot) => ( diff --git a/apps/app/components/core/list-view/all-lists.tsx b/apps/app/components/core/list-view/all-lists.tsx index bdd0c4f2c..27cd92fa5 100644 --- a/apps/app/components/core/list-view/all-lists.tsx +++ b/apps/app/components/core/list-view/all-lists.tsx @@ -36,7 +36,7 @@ export const AllLists: React.FC = ({ return ( <> {groupedByIssues && ( -
+
{Object.keys(groupedByIssues).map((singleGroup) => { const currentState = selectedGroup === "state" ? states?.find((s) => s.id === singleGroup) : null; diff --git a/apps/app/components/core/list-view/single-issue.tsx b/apps/app/components/core/list-view/single-issue.tsx index 0ed235028..df2d1cb3a 100644 --- a/apps/app/components/core/list-view/single-issue.tsx +++ b/apps/app/components/core/list-view/single-issue.tsx @@ -216,9 +216,9 @@ export const SingleListIssue: React.FC = ({ -
+
{ e.preventDefault(); setContextMenu(true);