+
{
}
}
.tiptap p.is-editor-empty:first-child::before {
- color: #9aa2af;
+ @apply text-gray-500;
content: attr(data-placeholder);
float: left;
height: 0;
@@ -375,7 +381,7 @@ const saveComment = (e) => {
}
p {
- @apply !m-0;
+ @apply !m-0 !leading-5;
}
.ProseMirror-focused {
diff --git a/packages/nc-gui/composables/useExpandedFormStore.ts b/packages/nc-gui/composables/useExpandedFormStore.ts
index 13843df6e4..89be2c8db8 100644
--- a/packages/nc-gui/composables/useExpandedFormStore.ts
+++ b/packages/nc-gui/composables/useExpandedFormStore.ts
@@ -182,13 +182,22 @@ const [useProvideExpandedFormStore, useExpandedFormStore] = useInjectionState((m
try {
isAuditLoading.value = true
- audits.value =
+ const res =
(
await $api.utils.auditList({
row_id: rowId,
fk_model_id: meta.value.id as string,
})
).list?.reverse?.() || []
+
+ audits.value = res.map((audit) => {
+ const user = baseUsers.value.find((u) => u.email === audit.user)
+ return {
+ ...audit,
+ created_display_name: user?.display_name ?? (user?.email ?? '').split('@')[0],
+ created_by_email: user?.email,
+ }
+ })
} catch (e: any) {
message.error(
await extractSdkResponseErrorMsg(