@lingk/sync 1.1.61 → 1.1.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/credentialSections.js +3 -3
- package/build/credentialSections.js.map +1 -1
- package/build/css/main.css +5 -10
- package/build/lightning.js.map +1 -1
- package/build/lightningStyles.js.map +1 -1
- package/build/lingk.js.map +1 -1
- package/build/lingkStyles.js.map +1 -1
- package/build/loadData.js.map +1 -1
- package/build/main.js +3 -3
- package/build/main.js.map +1 -1
- package/build/metadataDropdown.js.map +1 -1
- package/build/metadataFunctions.js.map +1 -1
- package/build/reducer.js.map +1 -1
- package/build/saveData.js.map +1 -1
- package/package.json +1 -1
|
@@ -4616,7 +4616,6 @@ module.exports =
|
|
|
4616
4616
|
var btnStyle = { height: 30, lineHeight: "11px", marginTop: -1 };
|
|
4617
4617
|
|
|
4618
4618
|
var credentials = config && config.credentials;
|
|
4619
|
-
console.log(creds);
|
|
4620
4619
|
var userName = creds && creds.userName;
|
|
4621
4620
|
var Name = creds && creds.name;
|
|
4622
4621
|
var Account = creds && creds.accountId;
|
|
@@ -5710,13 +5709,14 @@ module.exports =
|
|
|
5710
5709
|
var actualCreds = this.state.actualCreds;
|
|
5711
5710
|
|
|
5712
5711
|
|
|
5713
|
-
if (!newProps.creds.credentialType) {
|
|
5712
|
+
if (!newProps.creds.credentialType && newProps.config.type === "SFTP") {
|
|
5714
5713
|
// prevent sftp default credentialType removal
|
|
5715
5714
|
if (actualCreds.credentialType) {
|
|
5716
5715
|
newProps.creds.credentialType = actualCreds.credentialType;
|
|
5716
|
+
} else {
|
|
5717
|
+
newProps.creds.credentialType = "password";
|
|
5717
5718
|
}
|
|
5718
5719
|
}
|
|
5719
|
-
|
|
5720
5720
|
if (JSON.stringify(this.state.actualCreds) !== JSON.stringify(newProps.creds)) {
|
|
5721
5721
|
this.setState({ actualCreds: newProps.creds });
|
|
5722
5722
|
}
|