mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 01:18:23 +00:00
[fix]:change the code for the dynamic document links for data sources (#8138)
* change the code for the dynamic documentation link for data sources * fix code for dynamic url creation * fix code
This commit is contained in:
parent
9f61f676dc
commit
5f04d2cba7
1 changed files with 5 additions and 1 deletions
|
|
@ -856,7 +856,11 @@ class DataSourceManagerComponent extends React.Component {
|
|||
<SolidIcon name="logs" fill="#3E63DD" width="20" style={{ marginRight: '8px' }} />
|
||||
<a
|
||||
className="color-primary tj-docs-link tj-text-sm"
|
||||
href={`https://docs.tooljet.io/docs/data-sources/${selectedDataSource.kind}`}
|
||||
href={
|
||||
selectedDataSource?.pluginId && selectedDataSource.pluginId.trim() !== ''
|
||||
? `https://docs.tooljet.com/docs/marketplace/plugins/marketplace-plugin-${selectedDataSource.kind}/`
|
||||
: `https://docs.tooljet.com/docs/data-sources/${selectedDataSource.kind}`
|
||||
}
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
data-cy="link-read-documentation"
|
||||
|
|
|
|||
Loading…
Reference in a new issue