diff --git a/src/modules/pages/database/database.ts b/src/modules/pages/database/database.ts index 5c40d6c..07a114e 100644 --- a/src/modules/pages/database/database.ts +++ b/src/modules/pages/database/database.ts @@ -56,7 +56,7 @@ export class Datebase extends BI.Widget { if (this.model.isPlugin) { datebaseTypes = [...datebaseTypes, ...this.allDatabaseTypes.filter(item => !item.internal)]; } - this.store.setDatebaseTypes(datebaseTypes); + this.store.setDatebaseTypes(datebaseTypes.filter(item => item.type !== connectionType.JNDI && item.type !== 'other')); } }, } @@ -244,7 +244,7 @@ export class Datebase extends BI.Widget { this.store.setDatebaseTypes(this.allDatabaseTypes.filter(item => item.type === connectionType.JNDI || item.type === 'other')); break; default: - this.store.setDatebaseTypes(this.allDatabaseTypes); + this.store.setDatebaseTypes(this.allDatabaseTypes.filter(item => item.type !== connectionType.JNDI && item.type !== 'other')); break; } } diff --git a/src/modules/pages/database/filter/filter.ts b/src/modules/pages/database/filter/filter.ts index 741b4a4..b4ea449 100644 --- a/src/modules/pages/database/filter/filter.ts +++ b/src/modules/pages/database/filter/filter.ts @@ -10,6 +10,7 @@ export class Filter extends BI.BasicButton { store: FilterModel['store'] props = { text: '', + value: '', baseCls: 'bi-list-item-active', }