push
github
596 of 844 branches covered (70.62%)
Branch coverage included in aggregate %.
14 of 192 new or added lines in 7 files covered. (7.29%)
2 existing lines in 1 file now uncovered.5911 of 15660 relevant lines covered (37.75%)
2.58 hits per line
|
NEW
|
import React from 'react' |
|
|
NEW
|
import { useTranslation } from 'react-i18next'
|
× |
| 3 |
|
|
|
NEW
|
import Modal from '../Modal.jsx' |
× |
|
NEW
|
import WorkspaceUpdateFormMetadata from './WorkspaceUpdateFormMetadata.jsx' |
× |
| 6 |
|
|
|
NEW
|
export default function WorkspaceUpdateFormMetadataModal({ |
× |
|
NEW
|
close, |
× |
|
NEW
|
bindings, |
× |
|
NEW
|
workspace, |
× |
|
NEW
|
}) {
|
× |
|
NEW
|
const { t } = useTranslation()
|
× |
|
NEW
|
return (
|
× |
|
NEW
|
<Modal {...bindings} title={t('workspace.updateFormMetadataModal.title')}>
|
× |
|
NEW
|
<WorkspaceUpdateFormMetadata |
× |
|
NEW
|
onSubmit={() => close()}
|
× |
|
NEW
|
onCancel={() => close()}
|
× |
|
NEW
|
workspace={workspace}
|
× |
|
NEW
|
/> |
× |
|
NEW
|
</Modal> |
× |
| 21 |
) |
|
|
NEW
|
} |
× |