Skip to content

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

fix: handle undefined value (#4797)

Liu Ji5b0ea2a4d0e4
diff --git a/frontend/src/components/Issue/TaskCheckRunPanel.vue b/frontend/src/components/Issue/TaskCheckRunPanel.vue
index f634aff72a..e049ca4907 100644
--- a/frontend/src/components/Issue/TaskCheckRunPanel.vue
+++ b/frontend/src/components/Issue/TaskCheckRunPanel.vue
@@ -159,6 +159,8 @@ const errorCodeLink = (
checkResult: TaskCheckResult
): ErrorCodeLink | undefined => {
switch (checkResult.code) {
+ case undefined:
+ return;
case GeneralErrorCode.OK:
return;
case SQLReviewPolicyErrorCode.EMPTY_POLICY: