mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +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() {
|
async beforeMount() {
|
||||||
await this.findCredentialTextRenderKeys();
|
if (this.$store.getters.defaultLocale !== 'en') {
|
||||||
await this.addNodeTranslationForCredential();
|
await this.findCredentialTextRenderKeys();
|
||||||
|
await this.addNodeTranslationForCredential();
|
||||||
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
appName(): string {
|
appName(): string {
|
||||||
|
|||||||
Reference in New Issue
Block a user