Unmock connectors config

pull/15814/head
Jesús Arroyo Torrens 4 years ago
parent 140516c011
commit 69adae5f2b

@ -160,7 +160,7 @@ $import-button-width: 174px;
position: relative;
min-width: $import-button-width;
height: 102px;
margin: 12px 16px 0 0;
margin: 16px 16px 0 0;
border: 1px solid $cStructure-mainLine;
border-radius: 4px;
background-color: $cStructure-mainBkg;

@ -257,7 +257,7 @@ const IMPORT_OPTIONS = {
},
Snowflake: {
view: ImportDatabaseView,
enabled: function (config, userModel) { return true; /* FIXME: config.get('snowflake_enabled'); */ },
enabled: function (config, userModel) { return config.get('snowflake_enabled'); },
name: 'snowflake',
title: 'Snowflake',
type: 'database',
@ -268,7 +268,7 @@ const IMPORT_OPTIONS = {
},
Redshift: {
view: ImportDatabaseView,
enabled: function (config, userModel) { return true; /* FIXME: config.get('redshift_enabled'); */ },
enabled: function (config, userModel) { return config.get('redshift_enabled'); },
name: 'redshift',
title: 'Redshift',
type: 'database',

@ -49,12 +49,12 @@ module.exports = Backbone.Model.extend({
'snowflake': {
'name': 'Snowflake',
'description': null,
'enabled': true // FIXME: false
'enabled': false
},
'redshift': {
'name': 'Redshift',
'description': null,
'enabled': true // FIXME: false
'enabled': false
},
loaded: false
},

Loading…
Cancel
Save