mirror of
https://github.com/apache/superset.git
synced 2026-04-23 10:04:45 +00:00
fix: Update display string when sqlalchemy doc config us changed (#13219)
This commit is contained in:
@@ -45,6 +45,7 @@ interface RootState {
|
||||
common: {
|
||||
conf: {
|
||||
SQLALCHEMY_DOCS_URL: string;
|
||||
SQLALCHEMY_DISPLAY_TEXT: string;
|
||||
};
|
||||
};
|
||||
messageToast: Array<Object>;
|
||||
@@ -417,7 +418,7 @@ const DatabaseModal: FunctionComponent<DatabaseModalProps> = ({
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
{t('SQLAlchemy docs')}
|
||||
{conf?.SQLALCHEMY_DISPLAY_TEXT ?? ''}
|
||||
</a>
|
||||
{t(' for more information on how to structure your URI.')}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user