@lingk/sync 2.2.3 → 2.2.5
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 +9 -2
- package/build/credentialSections.js.map +1 -1
- 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 +9 -2
- 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
|
@@ -6275,13 +6275,19 @@ module.exports =
|
|
|
6275
6275
|
var _props = this.props,
|
|
6276
6276
|
creds = _props.creds,
|
|
6277
6277
|
config = _props.config,
|
|
6278
|
-
connectionInfo = _props.connectionInfo
|
|
6278
|
+
connectionInfo = _props.connectionInfo,
|
|
6279
|
+
wizard = _props.wizard;
|
|
6280
|
+
|
|
6279
6281
|
|
|
6280
6282
|
if (connectionInfo) {
|
|
6281
6283
|
this.setState({
|
|
6282
6284
|
defaultConnection: connectionInfo.defaultConnection,
|
|
6283
6285
|
APIAccess: connectionInfo.ApiAccessible
|
|
6284
6286
|
});
|
|
6287
|
+
} else if (wizard.firstConnectionOfaType) {
|
|
6288
|
+
this.setState({
|
|
6289
|
+
defaultConnection: true
|
|
6290
|
+
});
|
|
6285
6291
|
}
|
|
6286
6292
|
|
|
6287
6293
|
if (config.type === "SFTP") {
|
|
@@ -6341,8 +6347,9 @@ module.exports =
|
|
|
6341
6347
|
var _state = this.state,
|
|
6342
6348
|
APIAccess = _state.APIAccess,
|
|
6343
6349
|
defaultConnection = _state.defaultConnection;
|
|
6350
|
+
var firstConnectionOfaType = this.props.wizard.firstConnectionOfaType;
|
|
6344
6351
|
|
|
6345
|
-
this.props.postCredentials(this.state.actualCreds, APIAccess, defaultConnection, wizard);
|
|
6352
|
+
this.props.postCredentials(this.state.actualCreds, APIAccess, defaultConnection, wizard, firstConnectionOfaType);
|
|
6346
6353
|
}
|
|
6347
6354
|
}, {
|
|
6348
6355
|
key: "render",
|