|
@@ -217,6 +217,10 @@ class ConnectorsConfig extends DisposableComponent {
|
|
|
super();
|
|
super();
|
|
|
|
|
|
|
|
this.section = ko.observable('installed-connectors-page');
|
|
this.section = ko.observable('installed-connectors-page');
|
|
|
|
|
+ this.section.subscribe(() => {
|
|
|
|
|
+ this.connectorsFilter('');
|
|
|
|
|
+ this.testConnectionExecuted(false);
|
|
|
|
|
+ });
|
|
|
this.categories = ko.observableArray();
|
|
this.categories = ko.observableArray();
|
|
|
this.filterCategories = ko.pureComputed(() => {
|
|
this.filterCategories = ko.pureComputed(() => {
|
|
|
return [ALL_CATEGORY].concat(this.categories());
|
|
return [ALL_CATEGORY].concat(this.categories());
|
|
@@ -276,8 +280,6 @@ class ConnectorsConfig extends DisposableComponent {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
addNewConnector() {
|
|
addNewConnector() {
|
|
|
- this.testConnectionExecuted(false);
|
|
|
|
|
- this.testConnectionErrors('');
|
|
|
|
|
this.section('add-connector-page');
|
|
this.section('add-connector-page');
|
|
|
}
|
|
}
|
|
|
|
|
|