Skip to content

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

fix(frontend): show issue creator instead of plan creator in IssueDescriptionComment (#18618)

boojackb66911cd4b13
diff --git a/frontend/src/components/Plan/components/IssueReviewView/ActivitySection/IssueCommentView/IssueDescriptionComment.vue b/frontend/src/components/Plan/components/IssueReviewView/ActivitySection/IssueCommentView/IssueDescriptionComment.vue
index 126b8acd46..4b752d39f8 100644
--- a/frontend/src/components/Plan/components/IssueReviewView/ActivitySection/IssueCommentView/IssueDescriptionComment.vue
+++ b/frontend/src/components/Plan/components/IssueReviewView/ActivitySection/IssueCommentView/IssueDescriptionComment.vue
@@ -117,11 +117,11 @@ const createdSentence = computed(() => {
});
const creatorName = computed(() => {
- return hasPlan.value ? plan.value.creator : (issue.value?.creator ?? "");
+ return issue.value?.creator || plan.value?.creator || "";
});
const createTime = computed((): Timestamp | undefined => {
- return hasPlan.value ? plan.value.createTime : issue.value?.createTime;
+ return issue.value?.createTime || plan.value?.createTime;
});
const creator = computed(() => {