pl-fe: move action buttons so they make more sense

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2024-10-31 21:20:37 +01:00
parent a83616e9e0
commit 5b22022e1f

View file

@ -205,8 +205,8 @@ const InteractionRequest: React.FC<IInteractionRequest> = ({
</HStack>
</div>
{interactionRequest.status_id && <InteractionRequestStatus id={interactionRequest.status_id} hasReply={interactionRequest.type === 'reply'} actions={actions} />}
{interactionRequest.reply_id && <InteractionRequestStatus id={interactionRequest.reply_id} isReply />}
{interactionRequest.status_id && <InteractionRequestStatus id={interactionRequest.status_id} hasReply={interactionRequest.type === 'reply'} actions={interactionRequest.reply_id ? undefined : actions} />}
{interactionRequest.reply_id && <InteractionRequestStatus id={interactionRequest.reply_id} isReply actions={actions} />}
</Stack>
</div>
</div>