mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 17:08:34 +00:00
Add link to documentation on API datasources (#1241)
This commit is contained in:
parent
8097b62ac1
commit
d3140a9d1b
1 changed files with 15 additions and 7 deletions
|
|
@ -323,13 +323,21 @@ class DataSourceManager extends React.Component {
|
|||
|
||||
{!dataSourceMeta?.hideSave && selectedDataSource && dataSourceMeta.customTesting && (
|
||||
<Modal.Footer>
|
||||
<div className="row mt-3">
|
||||
<div className="col"></div>
|
||||
<div className="col-auto">
|
||||
<Button className="m-2" disabled={isSaving} variant="primary" onClick={this.createDataSource}>
|
||||
{isSaving ? 'Saving...' : 'Save'}
|
||||
</Button>
|
||||
</div>
|
||||
<div className="col">
|
||||
<small>
|
||||
<a
|
||||
href={`https://docs.tooljet.io/docs/data-sources/${selectedDataSource.kind}`}
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
>
|
||||
Read documentation
|
||||
</a>
|
||||
</small>
|
||||
</div>
|
||||
<div className="col-auto">
|
||||
<Button className="m-2" disabled={isSaving} variant="primary" onClick={this.createDataSource}>
|
||||
{isSaving ? 'Saving...' : 'Save'}
|
||||
</Button>
|
||||
</div>
|
||||
</Modal.Footer>
|
||||
)}
|
||||
|
|
|
|||
Loading…
Reference in a new issue