Took badges out of modal

This commit is contained in:
bourquecharles
2021-05-18 14:47:06 -04:00
parent 3dc7da369a
commit c395dfbc80
2 changed files with 0 additions and 14 deletions

View File

@@ -6,7 +6,6 @@ import {
CModalBody,
CModalFooter,
CSpinner,
CBadge,
CCol,
CRow,
CInvalidFeedback,
@@ -174,12 +173,6 @@ const ActionModalWidget = ({ show, toggleModal, title, directions, action, extra
>
{waiting ? 'Loading...' : 'Yes'} {' '}
<CSpinner hidden={!waiting} component="span" size="sm" />
<CBadge hidden={waiting || !hadSuccess} color="success" shape="rounded-pill">
Success
</CBadge>
<CBadge hidden={waiting || !hadFailure} color="danger" shape="rounded-pill">
Request Failed
</CBadge>
</CButton>
<CButton color="secondary" onClick={toggleModal}>
Cancel

View File

@@ -6,7 +6,6 @@ import {
CModalBody,
CModalFooter,
CSpinner,
CBadge,
CCol,
CRow,
CForm,
@@ -186,12 +185,6 @@ const BlinkModalWidget = ({show, toggleModal}) => {
>
{waiting ? 'Loading...' : 'Yes'} {' '}
<CSpinner hidden={!waiting} component="span" size="sm" />
<CBadge hidden={waiting || !hadSuccess} color="success" shape="rounded-pill">
Success
</CBadge>
<CBadge hidden={waiting || !hadFailure} color="danger" shape="rounded-pill">
Request Failed
</CBadge>
</CButton>
<CButton color="secondary" onClick={toggleModal}>
Cancel