Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix instance new page 404

Tianzhou Chen2de19d99334a
diff --git a/frontend/src/router/index.ts b/frontend/src/router/index.ts
index 561c90606d..790b29a00b 100644
--- a/frontend/src/router/index.ts
+++ b/frontend/src/router/index.ts
@@ -307,6 +307,10 @@ router.beforeEach((to, from, next) => {
}
if (instanceId) {
+ if (instanceId.toUpperCase() == "NEW") {
+ next();
+ return;
+ }
store
.dispatch("instance/fetchInstanceById", instanceId)
.then((instance) => {