|
|
@ -14,7 +14,7 @@ const RELATION_DATABASE_TOOL_CONFIG = [{ |
|
|
|
}] |
|
|
|
|
|
|
|
const LatestMetadata = (props) => { |
|
|
|
const { history } = props; |
|
|
|
const { history, actions, dispatch } = props; |
|
|
|
const [isModalOpen, setIsModalOpen] = useState(false); |
|
|
|
|
|
|
|
const renderRelationalDatabase = () => { |
|
|
@ -36,7 +36,12 @@ const LatestMetadata = (props) => { |
|
|
|
const onFinish = (values) => { |
|
|
|
const { stepOneValues, stepTwoValues } = values; |
|
|
|
dispatch(actions.metadataAcquisition.addDataSource({ |
|
|
|
|
|
|
|
name: stepOneValues?.name, |
|
|
|
audited: true, |
|
|
|
adapter: 1, |
|
|
|
mountPath: 1, |
|
|
|
description: stepOneValues?.description, |
|
|
|
config: stepTwoValues |
|
|
|
})) |
|
|
|
} |
|
|
|
|
|
|
|