fix: module header hide on bigger screens (#3590)

* fix: module header hide on bigger screens

* fix: Add Inbox back on mobile

---------

Co-authored-by: Maximilian Engel <maximilian.engel@swg.de>
Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
This commit is contained in:
Ramesh Kumar Chandra 2024-02-08 00:16:00 +05:30 committed by GitHub
parent 729b6ac79e
commit 346c6f5414
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 7 deletions

View File

@ -200,7 +200,7 @@ export const ProjectIssuesHeader: React.FC = observer(() => {
handleDisplayPropertiesUpdate={handleDisplayProperties}
/>
</FiltersDropdown>
</div>
{currentProjectDetails?.inbox_view && inboxDetails && (
<Link href={`/${workspaceSlug}/projects/${projectId}/inbox/${inboxDetails?.id}`}>
<span>
@ -215,8 +215,6 @@ export const ProjectIssuesHeader: React.FC = observer(() => {
</span>
</Link>
)}
</div>
{canUserCreateIssue && (
<>
<Button className="hidden md:block" onClick={() => setAnalyticsModal(true)} variant="neutral-primary" size="sm">

View File

@ -77,7 +77,7 @@ export const ModuleMobileHeader = () => {
);
return (
<>
<div className="block md:hidden">
<ProjectAnalyticsModal
isOpen={analyticsModal}
onClose={() => setAnalyticsModal(false)}
@ -157,6 +157,6 @@ export const ModuleMobileHeader = () => {
Analytics
</button>
</div>
</>
</div>
);
};