@lingk/sync 0.2.12 → 0.2.13
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 +5 -1
- 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 +28 -16
- package/build/main.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 +2 -1
|
@@ -329,6 +329,8 @@ module.exports =
|
|
|
329
329
|
|
|
330
330
|
var CloudSQLTypes = [{ name: 'Postgres' }, { name: 'MySQL' }];
|
|
331
331
|
|
|
332
|
+
var onlyJson = config.credentials && config.credentials.length === 1 && config.credentials[0] === 'json';
|
|
333
|
+
|
|
332
334
|
return _react2.default.createElement(
|
|
333
335
|
'div',
|
|
334
336
|
null,
|
|
@@ -384,7 +386,9 @@ module.exports =
|
|
|
384
386
|
onClick: function onClick() {
|
|
385
387
|
return onCheck(creds);
|
|
386
388
|
},
|
|
387
|
-
style: { marginLeft:
|
|
389
|
+
style: { marginLeft: onlyJson ? 0 : 8, marginTop: onlyJson ? 8 : 0,
|
|
390
|
+
marginBottom: 2, height: 30, lineHeight: '10px'
|
|
391
|
+
},
|
|
388
392
|
disabled: credsDisabledCheck },
|
|
389
393
|
'Test Connection'
|
|
390
394
|
)
|