From a7586e92a18de579be13d356ea886c6861bea35f Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Mon, 20 Oct 2025 18:19:22 +0300 Subject: [PATCH] audit data --- client/src/views/stream/notes/update.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/client/src/views/stream/notes/update.js b/client/src/views/stream/notes/update.js index b7203432b8..f301f5c5da 100644 --- a/client/src/views/stream/notes/update.js +++ b/client/src/views/stream/notes/update.js @@ -92,7 +92,7 @@ class UpdateNoteStreamView extends NoteStreamView { const statusValue = data.value; this.statusStyle = this.getMetadata() - .get(`entityDefs.${parentType}.fields.${statusField}.style.${statusValue}`) || + .get(`entityDefs.${parentType}.fields.${statusField}.style.${statusValue}`) || 'default'; this.statusText = this.getLanguage() @@ -150,6 +150,9 @@ class UpdateNoteStreamView extends NoteStreamView { mode: 'detail', inlineEditDisabled: true, selector: `.row[data-name="${field}"] .cell-was`, + auditData: { + type: 'was', + }, }); this.createView(field + 'Became', viewName, { @@ -159,6 +162,9 @@ class UpdateNoteStreamView extends NoteStreamView { mode: 'detail', inlineEditDisabled: true, selector: `.row[data-name="${field}"] .cell-became`, + auditData: { + type: 'became', + }, }); this.fieldDataList.push({