Skip to content

Commit

Permalink
Merge branch 'NetEase:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
ShawHee authored Dec 13, 2023
2 parents 44e10d0 + 24dbeed commit dd55dbe
Show file tree
Hide file tree
Showing 197 changed files with 4,085 additions and 4,497 deletions.
3 changes: 2 additions & 1 deletion ams/dashboard/src/components/tables-sub-menu/TablesMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,8 @@ export default defineComponent({
}))
if (state.databaseList.length && !isSearch) {
const index = state.databaseList.findIndex(ele => ele.id === storageCataDBTable.database)
state.database = index > -1 ? storageCataDBTable.database : (route.query?.db)?.toString() || state.databaseList[0].id || ''
// ISSUE 2413: If the current catalog is not the one in the query, the first db is selected by default.
state.database = index > -1 ? storageCataDBTable.database : state.curCatalog === (route.query?.catalog)?.toString() ? ((route.query?.db)?.toString() || state.databaseList[0].id || '') : state.databaseList[0].id || ''
getAllTableList()
}
}).finally(() => {
Expand Down

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit dd55dbe

Please sign in to comment.