|
|
@ -56,7 +56,7 @@ export class Datebase extends BI.Widget { |
|
|
|
if (this.model.isPlugin) { |
|
|
|
if (this.model.isPlugin) { |
|
|
|
datebaseTypes = [...datebaseTypes, ...this.allDatabaseTypes.filter(item => !item.internal)]; |
|
|
|
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')); |
|
|
|
this.store.setDatebaseTypes(this.allDatabaseTypes.filter(item => item.type === connectionType.JNDI || item.type === 'other')); |
|
|
|
break; |
|
|
|
break; |
|
|
|
default: |
|
|
|
default: |
|
|
|
this.store.setDatebaseTypes(this.allDatabaseTypes); |
|
|
|
this.store.setDatebaseTypes(this.allDatabaseTypes.filter(item => item.type !== connectionType.JNDI && item.type !== 'other')); |
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|