Skip to content

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

Change EMPTY_ID from “0” to “”

天舟ed0bf88fdc5b
diff --git a/frontend/src/types/common.ts b/frontend/src/types/common.ts
index f1baf4397f..392d477e00 100644
--- a/frontend/src/types/common.ts
+++ b/frontend/src/types/common.ts
@@ -74,7 +74,7 @@ export type QuickActionType =
export const UNKNOWN_ID = "-1";
// EMPTY_ID means an expected behavior, it expects no resource (e.g. contains an empty value, using this technic enables
// us to declare variable as required, which leads to cleaner code)
-export const EMPTY_ID = "0";
+export const EMPTY_ID = "";
export type ResourceType =
| "PRINCIPAL"