mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-23 11:44:06 -08:00
⚡ Add condition for loading cred translations
This commit is contained in:
parent
2855492de4
commit
76f14505eb
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue