mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 13:27:31 -08:00
fix(editor): Fix inverted checks on modal confirmation results (#6285)
* fix(editor): Fix inverted checks on modal confirmation results * test(editor): fix confirm modal buttons * test(editor): fix confirm modal buttons --------- Co-authored-by: Csaba Tuncsik <csaba.tuncsik@gmail.com>
This commit is contained in:
parent
eabecefe27
commit
5d2f4746ea
|
@ -529,7 +529,7 @@ export default defineComponent({
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
keepEditing = confirmAction !== MODAL_CONFIRM;
|
keepEditing = confirmAction === MODAL_CONFIRM;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!keepEditing) {
|
if (!keepEditing) {
|
||||||
|
|
|
@ -299,12 +299,12 @@
|
||||||
"credentialEdit.credentialConfig.authTypeSelectorLabel": "Connect using",
|
"credentialEdit.credentialConfig.authTypeSelectorLabel": "Connect using",
|
||||||
"credentialEdit.credentialConfig.authTypeSelectorTooltip": "The authentication method to use for the connection",
|
"credentialEdit.credentialConfig.authTypeSelectorTooltip": "The authentication method to use for the connection",
|
||||||
"credentialEdit.credentialConfig.recommendedAuthTypeSuffix": "(recommended)",
|
"credentialEdit.credentialConfig.recommendedAuthTypeSuffix": "(recommended)",
|
||||||
"credentialEdit.credentialEdit.confirmMessage.beforeClose1.cancelButtonText": "Keep Editing",
|
"credentialEdit.credentialEdit.confirmMessage.beforeClose1.cancelButtonText": "Close",
|
||||||
"credentialEdit.credentialEdit.confirmMessage.beforeClose1.confirmButtonText": "Close",
|
"credentialEdit.credentialEdit.confirmMessage.beforeClose1.confirmButtonText": "Keep Editing",
|
||||||
"credentialEdit.credentialEdit.confirmMessage.beforeClose1.headline": "Close without saving?",
|
"credentialEdit.credentialEdit.confirmMessage.beforeClose1.headline": "Close without saving?",
|
||||||
"credentialEdit.credentialEdit.confirmMessage.beforeClose1.message": "Are you sure you want to throw away the changes you made to the {credentialDisplayName} credential?",
|
"credentialEdit.credentialEdit.confirmMessage.beforeClose1.message": "Are you sure you want to throw away the changes you made to the {credentialDisplayName} credential?",
|
||||||
"credentialEdit.credentialEdit.confirmMessage.beforeClose2.cancelButtonText": "Keep Editing",
|
"credentialEdit.credentialEdit.confirmMessage.beforeClose2.cancelButtonText": "Close",
|
||||||
"credentialEdit.credentialEdit.confirmMessage.beforeClose2.confirmButtonText": "Close",
|
"credentialEdit.credentialEdit.confirmMessage.beforeClose2.confirmButtonText": "Keep Editing",
|
||||||
"credentialEdit.credentialEdit.confirmMessage.beforeClose2.headline": "Close without connecting?",
|
"credentialEdit.credentialEdit.confirmMessage.beforeClose2.headline": "Close without connecting?",
|
||||||
"credentialEdit.credentialEdit.confirmMessage.beforeClose2.message": "You need to connect your credential for it to work",
|
"credentialEdit.credentialEdit.confirmMessage.beforeClose2.message": "You need to connect your credential for it to work",
|
||||||
"credentialEdit.credentialEdit.confirmMessage.deleteCredential.cancelButtonText": "",
|
"credentialEdit.credentialEdit.confirmMessage.deleteCredential.cancelButtonText": "",
|
||||||
|
@ -1735,8 +1735,8 @@
|
||||||
"settings.ldap.synchronizationError": "LDAP Synchronization Error",
|
"settings.ldap.synchronizationError": "LDAP Synchronization Error",
|
||||||
"settings.ldap.configurationError": "LDAP Configuration Error",
|
"settings.ldap.configurationError": "LDAP Configuration Error",
|
||||||
"settings.ldap.usersScanned": "Users scanned {scanned}",
|
"settings.ldap.usersScanned": "Users scanned {scanned}",
|
||||||
"settings.ldap.confirmMessage.beforeSaveForm.cancelButtonText": "Yes, disable it",
|
"settings.ldap.confirmMessage.beforeSaveForm.cancelButtonText": "No",
|
||||||
"settings.ldap.confirmMessage.beforeSaveForm.confirmButtonText": "No",
|
"settings.ldap.confirmMessage.beforeSaveForm.confirmButtonText": "Yes, disable it",
|
||||||
"settings.ldap.confirmMessage.beforeSaveForm.headline": "Are you sure you want to disable LDAP login?",
|
"settings.ldap.confirmMessage.beforeSaveForm.headline": "Are you sure you want to disable LDAP login?",
|
||||||
"settings.ldap.confirmMessage.beforeSaveForm.message": "If you do so, all LDAP users will be converted to email users.",
|
"settings.ldap.confirmMessage.beforeSaveForm.message": "If you do so, all LDAP users will be converted to email users.",
|
||||||
"settings.ldap.disabled.title": "Available on Enterprise plan",
|
"settings.ldap.disabled.title": "Available on Enterprise plan",
|
||||||
|
|
Loading…
Reference in a new issue