mirror of
https://github.com/optim-enterprises-bv/OptimCloud-gw-ui.git
synced 2025-10-30 01:42:19 +00:00
Took badges out of modal
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user