feat(nacos): add Nacos management console (#1456)
This commit is contained in:
62 files changed
+7314
-55
No files matched your search
@@ -765,6 +765,20 @@ async function openConnectionQuery(connectionId: string) {
|
||||
queryStore.openMqAdmin(connectionId);
|
||||
return;
|
||||
}
|
||||
if (initialTarget.kind === "nacos-admin") {
|
||||
try {
|
||||
await connectionStore.ensureConnected(connectionId);
|
||||
await connectionStore.loadNacosNamespaces(connectionId);
|
||||
} catch (e: any) {
|
||||
toast(
|
||||
t("connection.connectFailed", {
|
||||
message: translateBackendError(t, e?.message || String(e)),
|
||||
}),
|
||||
5000,
|
||||
);
|
||||
}
|
||||
return;
|
||||
}
|
||||
const tabId = queryStore.createTab(connectionId, initialTarget.database);
|
||||
try {
|
||||
await connectionStore.ensureConnected(connectionId);
|
||||
|
||||
Reference in new issue
Block a user