feat: Add more context to support chat (#11014)

This commit is contained in:
Milorad FIlipović
2024-10-02 10:00:20 +02:00
committed by GitHub
parent 5903592a23
commit 8a30f92156
10 changed files with 365 additions and 184 deletions

View File

@@ -83,10 +83,10 @@ const i18n = useI18n();
const telemetry = useTelemetry();
onBeforeMount(async () => {
if (rootStore.defaultLocale === 'en') return;
uiStore.activeCredentialType = props.credentialType.name;
if (rootStore.defaultLocale === 'en') return;
const key = `n8n-nodes-base.credentials.${props.credentialType.name}`;
if (i18n.exists(key)) return;