fix(hana): show tables under schemas

This commit is contained in:
gggaiitx authored and GitHub committed 2026-07-24 10:02:27 +08:00
1 parent 562edef4dc
commit b121240b2f
3 files changed
+140 -9

No files matched your search

+2 -2
View File
@@ -1297,7 +1297,7 @@ export const useConnectionStore = defineStore("connection", () => {
searchFilter?: string;
force?: boolean;
}): Promise<{ children: TreeNode[]; objectCount: number; hasMore: boolean; nextOffset: number; loadMoreParent?: TableTreeLoadMoreParent }> {
if (!options.node.connectionId || !options.node.database) {
if (!options.node.connectionId || options.node.database == null) {
return { children: [], objectCount: 0, hasMore: false, nextOffset: options.offset };
}
const searchFilter = (options.searchFilter ?? sidebarSearchQuery.value) || undefined;
@@ -1351,7 +1351,7 @@ export const useConnectionStore = defineStore("connection", () => {
searchFilter?: string;
force?: boolean;
}): Promise<{ children: TreeNode[]; objectCount: number; hasMore: boolean; nextOffset: number }> {
if (!options.node.connectionId || !options.node.database) {
if (!options.node.connectionId || options.node.database == null) {
return { children: [], objectCount: 0, hasMore: false, nextOffset: options.offset };
}
const searchFilter = options.searchFilter || undefined;