diff --git a/packages/nc-gui/components/smartsheet/expanded-form/Comments.vue b/packages/nc-gui/components/smartsheet/expanded-form/Comments.vue index 9680d34df4..50cd3247ca 100644 --- a/packages/nc-gui/components/smartsheet/expanded-form/Comments.vue +++ b/packages/nc-gui/components/smartsheet/expanded-form/Comments.vue @@ -75,7 +75,7 @@ onKeyStroke('Enter', (event) => { }) const comments = computed(() => commentsAndLogs.value.filter((log) => log.op_type === 'COMMENT')) -const audits = computed(() => commentsAndLogs.value.filter((log) => log.op_type !== 'COMMENT')) +const audits = computed(() => commentsAndLogs.value.filter((log) => log.op_type !== 'COMMENT' && log.details)) function editComment(log: AuditType) { editLog.value = log @@ -176,7 +176,7 @@ const onClickAudit = () => {
@@ -261,7 +261,7 @@ const onClickAudit = () => {
-
+
-
-
-
-
-
- - -
- - {{ log.display_name ?? log.user.split('@')[0].slice(0, 2) ?? 'Shared source' }} - -
- {{ timeAgo(log.created_at) }} -
+ +
+
+
+
+ + +
+ + {{ log.display_name ?? log.user.split('@')[0].slice(0, 2) ?? 'Shared source' }} + +
+ {{ timeAgo(log.created_at) }}
-
+
@@ -300,6 +299,15 @@ const onClickAudit = () => { .tab { @apply max-w-1/2; } + +.nc-audit-item { + @apply border-b-1 gap-3 border-gray-200; +} + +.nc-audit-item:last-child { + @apply border-b-0; +} + .tab .tab-title { @apply min-w-0 flex justify-center gap-2 font-semibold items-center; word-break: 'keep-all';