Browse Source

fix: DEC-10155 修复插件类型显示为空的bug

qufenxi
alan 5 years ago
parent
commit
5b79bc290c
  1. 2
      src/modules/app.service.ts

2
src/modules/app.service.ts

@ -99,7 +99,7 @@ export function connectionCanEdit(connection: Connection) {
} }
export function getTextByDatabaseType(databaseType: string) { export function getTextByDatabaseType(databaseType: string) {
const database = DATA_BASE_TYPES.find(item => item.databaseType === databaseType); const database = getAllDatabaseTypes().find(item => item.databaseType === databaseType);
return database ? database.text : ''; return database ? database.text : '';
} }

Loading…
Cancel
Save