@lingk/sync 2.2.2 → 2.2.4
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 +10 -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 +10 -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") {
|
|
@@ -6412,7 +6418,9 @@ module.exports =
|
|
|
6412
6418
|
|
|
6413
6419
|
return _react2.default.createElement(
|
|
6414
6420
|
"div",
|
|
6415
|
-
{
|
|
6421
|
+
{
|
|
6422
|
+
className: isFlatFile ? "env-section-body-flat-file" : "env-section-body"
|
|
6423
|
+
},
|
|
6416
6424
|
config.message && !isGoogle ? _react2.default.createElement(
|
|
6417
6425
|
"p",
|
|
6418
6426
|
{ style: { marginBottom: 16 } },
|