|
|
|
@ -247,6 +247,7 @@ const DialogGantt = ({ openDialog, closeDialog, toggleDialog, idTask, proyekName
|
|
|
|
|
) : ( |
|
|
|
|
<div>Gantt Project {proyekName}</div> |
|
|
|
|
)} |
|
|
|
|
<div style={{ display:'flex'}}> |
|
|
|
|
<Select |
|
|
|
|
placeholder='Search Gantt Name' |
|
|
|
|
showSearch |
|
|
|
@ -254,7 +255,7 @@ const DialogGantt = ({ openDialog, closeDialog, toggleDialog, idTask, proyekName
|
|
|
|
|
option.children.toLowerCase().includes(inputValue.toLowerCase()) |
|
|
|
|
} |
|
|
|
|
onChange={(val) => setSearchGantt(val)} |
|
|
|
|
style={{ width: 200 }} |
|
|
|
|
style={{ width: 200, marginRight:'10px' }} |
|
|
|
|
> |
|
|
|
|
{dataGantt.map((res) => ( |
|
|
|
|
<Option key={res.id} value={res.id}> |
|
|
|
@ -262,13 +263,12 @@ const DialogGantt = ({ openDialog, closeDialog, toggleDialog, idTask, proyekName
|
|
|
|
|
</Option> |
|
|
|
|
))} |
|
|
|
|
</Select> |
|
|
|
|
|
|
|
|
|
{!hierarchyId && ( |
|
|
|
|
<Button onClick={handleOpenDialogForm} size='sm' color="primary"> |
|
|
|
|
<i className='fa fa-plus'></i> |
|
|
|
|
</Button> |
|
|
|
|
)} |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
</ModalHeader> |
|
|
|
|
<ModalBody> |
|
|
|
|
<div style={{ width: '100%', overflow: "auto" }}> |
|
|
|
|