mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(editor): Fix i18n translation addition (#9451)
This commit is contained in:
@@ -186,6 +186,7 @@ export default defineComponent({
|
||||
},
|
||||
parentTypes: {
|
||||
type: Array as PropType<string[]>,
|
||||
default: () => [],
|
||||
},
|
||||
credentialData: {},
|
||||
credentialId: {
|
||||
@@ -274,7 +275,7 @@ export default defineComponent({
|
||||
return '';
|
||||
}
|
||||
|
||||
const appName = getAppNameFromCredType((this.credentialType as ICredentialType).displayName);
|
||||
const appName = getAppNameFromCredType(this.credentialType.displayName);
|
||||
|
||||
return (
|
||||
appName ||
|
||||
@@ -282,13 +283,13 @@ export default defineComponent({
|
||||
);
|
||||
},
|
||||
credentialTypeName(): string {
|
||||
return (this.credentialType as ICredentialType)?.name;
|
||||
return this.credentialType?.name;
|
||||
},
|
||||
credentialOwnerName(): string {
|
||||
return this.credentialsStore.getCredentialOwnerNameById(`${this.credentialId}`);
|
||||
},
|
||||
documentationUrl(): string {
|
||||
const type = this.credentialType as ICredentialType;
|
||||
const type = this.credentialType;
|
||||
const activeNode = this.ndvStore.activeNode;
|
||||
const isCommunityNode = activeNode ? isCommunityPackageName(activeNode.type) : false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user