diff --git a/web/core/components/issues/issue-detail/root.tsx b/web/core/components/issues/issue-detail/root.tsx index e520da2acbf..9d1252c028d 100644 --- a/web/core/components/issues/issue-detail/root.tsx +++ b/web/core/components/issues/issue-detail/root.tsx @@ -17,6 +17,7 @@ import { EUserProjectRoles } from "@/constants/project"; // hooks import { useAppTheme, useEventTracker, useIssueDetail, useIssues, useUser } from "@/hooks/store"; import { useAppRouter } from "@/hooks/use-app-router"; +import { usePlatformOS } from "@/hooks/use-platform-os"; // images import emptyIssue from "@/public/empty-state/issue.svg"; // local components @@ -81,6 +82,7 @@ export const IssueDetailRoot: FC = observer((props) => { membership: { currentProjectRole }, } = useUser(); const { issueDetailSidebarCollapsed } = useAppTheme(); + const { isMobile } = usePlatformOS(); const issueOperations: TIssueOperations = useMemo( () => ({ @@ -359,18 +361,20 @@ export const IssueDetailRoot: FC = observer((props) => { isArchived={is_archived} /> -
- -
+ {!isMobile && ( +
+ +
+ )} )}