Compare commits

..

No commits in common. "15988424368d1323f78370d7d4da699b72ebaab1" and "5427fda41ef1b1c4d71f7e16bf456dd5b5b376fb" have entirely different histories.

3 changed files with 10 additions and 9 deletions

View File

@ -162,7 +162,7 @@ const WorkItem = ({ workItem, forBuilding, forFloor, forWorkArea }) => {
style={{ display: showModal2 ? "block" : "none" }}
aria-hidden='false'
>
<ConfirmModal type={"delete"} header={"Delete Activity"} message={"Are you sure you want delete?"} onSubmit={ handleSubmit} onClose={closeModalDelete} loading={loadingDelete}/>
<ConfirmModal type={"delete"} header={"Delete Activity"} message={"Are you sure you want delete"} onSubmit={ handleSubmit} onClose={closeModalDelete} loading={loadingDelete}/>
</div> }
<tr>

View File

@ -28,19 +28,16 @@ const ConfirmModal = ({ type, onSubmit, onClose, message, loading ,header}) => {
<div className="modal-content">
<div className="modal-body">
<div className="row">
<div className="text-start mb-1">
<div className=' d-flex justify-content-between mb-4'>
{header && < strong className='mb-0 font-weight-bold'>{header }</strong>}
<button
type="button"
className="btn-close"
aria-label="Close"
onClick={onClose}
/>
</div>
<div className="text-start mb-1">
{header && < strong className='mb-0 font-weight-bold'>{header }</strong>}
<div className='row'>
<div className='col-4 col-sm-2'> {TypeofIcon(type)}</div>
<div className='col-8 col-sm-10 py-sm-2 py-1 text-sm-end'>
@ -58,7 +55,7 @@ const ConfirmModal = ({ type, onSubmit, onClose, message, loading ,header}) => {
onClick={onClose}
disabled={loading}
>
No
Cancel
</button>
</div>
</div>

View File

@ -24,7 +24,11 @@
"available": true,
"link": "/employees"
},
{
"text": "Directory",
"available": true,
"link": "/directory"
},
{
"text": "Project Status",
"available": true,