Browse Source

Merge pull request 'staging' (#31) from staging into master

Reviewed-on: ibnu/generic-ospro-frontend#31
pull/2/head
farhantock 11 months ago
parent
commit
e8a1cc9bde
  1. 5
      src/views/SimproV2/CreatedProyek/DialogGantt.js

5
src/views/SimproV2/CreatedProyek/DialogGantt.js

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

Loading…
Cancel
Save