mirror of
https://github.com/status-im/spiff-arena.git
synced 2025-01-16 21:24:19 +00:00
fix last modal
This commit is contained in:
parent
96daac637b
commit
8be06184d5
@ -339,15 +339,15 @@ export default function ProcessInstanceShow() {
|
|||||||
const taskToUse: any = { ...taskToDisplay, data: taskDataToDisplay };
|
const taskToUse: any = { ...taskToDisplay, data: taskDataToDisplay };
|
||||||
if (taskToDisplay) {
|
if (taskToDisplay) {
|
||||||
return (
|
return (
|
||||||
<Modal show={!!taskToUse} onHide={handleTaskDataDisplayClose}>
|
<Modal
|
||||||
<Modal.Header closeButton>
|
open={!!taskToUse}
|
||||||
<Modal.Title>
|
passiveModal
|
||||||
<Stack direction="horizontal" gap={2}>
|
onRequestClose={handleTaskDataDisplayClose}
|
||||||
{taskToUse.name} ({taskToUse.type}): {taskToUse.state}
|
>
|
||||||
{taskDataButtons(taskToUse)}
|
<Stack orientation="horizontal" gap={2}>
|
||||||
</Stack>
|
{taskToUse.name} ({taskToUse.type}): {taskToUse.state}
|
||||||
</Modal.Title>
|
{taskDataButtons(taskToUse)}
|
||||||
</Modal.Header>
|
</Stack>
|
||||||
{taskDataContainer()}
|
{taskDataContainer()}
|
||||||
</Modal>
|
</Modal>
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user