fix(graph): fullscreen overlay actions work — pass dispatchers to TeamGraphOverlay
This commit is contained in:
parent
b04f82512b
commit
664bdbf0cc
1 changed files with 7 additions and 1 deletions
|
|
@ -99,7 +99,13 @@ export const TeamGraphTab = ({
|
||||||
</div>
|
</div>
|
||||||
{fullscreen && (
|
{fullscreen && (
|
||||||
<Suspense fallback={null}>
|
<Suspense fallback={null}>
|
||||||
<TeamGraphOverlay teamName={teamName} onClose={() => setFullscreen(false)} />
|
<TeamGraphOverlay
|
||||||
|
teamName={teamName}
|
||||||
|
onClose={() => setFullscreen(false)}
|
||||||
|
onSendMessage={dispatchSendMessage}
|
||||||
|
onOpenTaskDetail={dispatchOpenTask}
|
||||||
|
onOpenMemberProfile={dispatchOpenProfile}
|
||||||
|
/>
|
||||||
</Suspense>
|
</Suspense>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue