Skip to content

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

chore: change Project - Default to Project - Unassigned (#4456)

Liu Ji10ff38eac4ab
diff --git a/frontend/src/utils/project.ts b/frontend/src/utils/project.ts
index 520c2413f7..a2ae15e810 100644
--- a/frontend/src/utils/project.ts
+++ b/frontend/src/utils/project.ts
@@ -1,6 +1,10 @@
-import { Project } from "../types";
+import { DEFAULT_PROJECT_ID, type Project } from "../types";
export function projectName(project: Project) {
+ if (project.id === DEFAULT_PROJECT_ID) {
+ return "Unassigned";
+ }
+
let name = project.name;
if (project.rowStatus == "ARCHIVED") {
name += " (Archived)";