feat(hbase): improve desktop connections and table operations
This commit is contained in:
17 files changed
+514
-50
No files matched your search
@@ -2012,6 +2012,10 @@ export const useQueryStore = defineStore("query", () => {
|
||||
if (tab.connectionId !== target.connectionId || tab.database !== target.database) return false;
|
||||
const targetSchemas = droppedTableObjectSchemaCandidates(target);
|
||||
|
||||
if ((target.objectType ?? "TABLE") === "TABLE" && tab.mode === "hbase") {
|
||||
return tab.sql === target.name;
|
||||
}
|
||||
|
||||
if (tab.mode === "data") {
|
||||
const tableMeta = tableMetaForDataTab(tab);
|
||||
if (!tableMeta || tableMeta.tableName !== target.name) return false;
|
||||
|
||||
Reference in new issue
Block a user