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:
parent
729b6ac79e
commit
346c6f5414
2 changed files with 5 additions and 7 deletions
|
|
@ -200,8 +200,8 @@ export const ProjectIssuesHeader: React.FC = observer(() => {
|
|||
handleDisplayPropertiesUpdate={handleDisplayProperties}
|
||||
/>
|
||||
</FiltersDropdown>
|
||||
|
||||
{currentProjectDetails?.inbox_view && inboxDetails && (
|
||||
</div>
|
||||
{currentProjectDetails?.inbox_view && inboxDetails && (
|
||||
<Link href={`/${workspaceSlug}/projects/${projectId}/inbox/${inboxDetails?.id}`}>
|
||||
<span>
|
||||
<Button variant="neutral-primary" size="sm" className="relative">
|
||||
|
|
@ -214,9 +214,7 @@ export const ProjectIssuesHeader: React.FC = observer(() => {
|
|||
</Button>
|
||||
</span>
|
||||
</Link>
|
||||
)}
|
||||
|
||||
</div>
|
||||
)}
|
||||
{canUserCreateIssue && (
|
||||
<>
|
||||
<Button className="hidden md:block" onClick={() => setAnalyticsModal(true)} variant="neutral-primary" size="sm">
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue