mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
⚡ Add condition for loading cred translations
This commit is contained in:
@@ -129,8 +129,10 @@ export default mixins(renderText, restApi).extend({
|
||||
},
|
||||
},
|
||||
async beforeMount() {
|
||||
await this.findCredentialTextRenderKeys();
|
||||
await this.addNodeTranslationForCredential();
|
||||
if (this.$store.getters.defaultLocale !== 'en') {
|
||||
await this.findCredentialTextRenderKeys();
|
||||
await this.addNodeTranslationForCredential();
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
appName(): string {
|
||||
|
||||
Reference in New Issue
Block a user