diff --git a/packages/nc-gui-v2/components/smartsheet/expanded-form/Comments.vue b/packages/nc-gui-v2/components/smartsheet/expanded-form/Comments.vue
index 8ad66c7dcc..ac91a28c5e 100644
--- a/packages/nc-gui-v2/components/smartsheet/expanded-form/Comments.vue
+++ b/packages/nc-gui-v2/components/smartsheet/expanded-form/Comments.vue
@@ -3,9 +3,17 @@ import { useExpandedFormStoreOrThrow } from '#imports'
import { timeAgo } from '~/utils'
import MdiKeyboardReturnIcon from '~icons/mdi/keyboard-return'
import MdiAccountIcon from '~icons/mdi/account-circle'
-import {colors}
+import { enumColor } from '~/utils'
-const { loadCommentsAndLogs, commentsAndLogs, isCommentsLoading, commentsOnly, saveComment,isYou } = useExpandedFormStoreOrThrow()
+const {
+ loadCommentsAndLogs,
+ commentsAndLogs,
+ isCommentsLoading,
+ commentsOnly,
+ saveComment,
+ isYou,
+ comment,
+} = useExpandedFormStoreOrThrow()
await loadCommentsAndLogs()
@@ -15,83 +23,54 @@ await loadCommentsAndLogs()
- {{ isYou(log.user) ? 'You' : log.user == null ? 'Shared base' : log.user }} - {{ log.op_type === 'COMMENT' ? 'commented' : log.op_sub_type === 'INSERT' ? 'created' : 'edited' }} -
- -- {{ log.description }} -
- - - -- {{ timeAgo(log.created_at) }} -
-