adminforth 2.60.2 → 2.60.3-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -700,6 +700,9 @@ export function generateMessageHtmlForRecordChange(changedFields: Record<string,
|
|
|
700
700
|
const items = Object.keys(changedFields || {}).map(key => {
|
|
701
701
|
const column = coreStore.resource?.columns?.find((c: any) => c.name === key);
|
|
702
702
|
const label = column?.label || key;
|
|
703
|
+
if (column?.masked) {
|
|
704
|
+
return `<li class="truncate"><strong>${escapeHtml(label)}</strong>: <em>${escapeHtml(t('changed'))}</em></li>`;
|
|
705
|
+
}
|
|
703
706
|
const oldV = escapeHtml(changedFields[key].oldValue);
|
|
704
707
|
const newV = escapeHtml(changedFields[key].newValue);
|
|
705
708
|
return `<li class="truncate"><strong>${escapeHtml(label)}</strong>: <span class="af-old-value text-muted">${oldV}</span> → <span class="af-new-value">${newV}</span></li>`;
|