Skip to content

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

chore(frontend): fix issue activity displaying (#8995)

Liu Jib015c718add5
diff --git a/frontend/src/components/IssueV1/components/ActivitySection/Activity/ActionSentence.vue b/frontend/src/components/IssueV1/components/ActivitySection/Activity/ActionSentence.vue
index ed3bd55fdb..eb0334b720 100644
--- a/frontend/src/components/IssueV1/components/ActivitySection/Activity/ActionSentence.vue
+++ b/frontend/src/components/IssueV1/components/ActivitySection/Activity/ActionSentence.vue
@@ -279,11 +279,15 @@ const renderActionSentence = () => {
) as ActivityTaskEarliestAllowedTimeUpdatePayload;
const newVal = payload.newEarliestAllowedTs;
const oldVal = payload.oldEarliestAllowedTs;
- return t("activity.sentence.changed-from-to", {
- name: "earliest allowed time",
- oldValue: oldVal ? dayjs(oldVal * 1000) : "Unset",
- newValue: newVal ? dayjs(newVal * 1000) : "Unset",
- });
+ return h(
+ "span",
+ {},
+ t("activity.sentence.changed-from-to", {
+ name: t("task.rollout-time"),
+ oldValue: oldVal ? dayjs(oldVal * 1000) : "Unset",
+ newValue: newVal ? dayjs(newVal * 1000) : "Unset",
+ })
+ );
}
}
return "";
@@ -331,7 +335,7 @@ const Renderer = defineComponent({
const renderStatement = (content: string) => {
return h(TextOverflowPopover, {
- statement: content,
+ content,
maxLength: 50,
width: 400,
contentClass: "text-main",