Wifi scan modal has 'Cancel' instead of Close

This commit is contained in:
bourquecharles
2021-06-29 14:41:31 -04:00
parent 3e279aff58
commit 657f61b43e

View File

@@ -195,7 +195,7 @@ const WifiScanModal = ({ show, toggleModal }) => {
disabled={waiting}
/>
<CButton color="secondary" onClick={toggleModal}>
{(!hadSuccess && !hadFailure && waiting) ? t('common.cancel') : t('common.close')}
{(!hadSuccess && !hadFailure) ? t('common.cancel') : t('common.close')}
</CButton>
</CModalFooter>
</CModal>