Compare commits

...

1 Commits
main ... pages

View File

@ -304,7 +304,7 @@ function updateItem(id, updatedItem) {
const logEntry = {
when: formatDateTime(),
what: `Изменена запись: ${oldItem.employee} — ${item.city}` + (changes.length > 0 ? ` (${changes.join(', ')})` : ''),
what: `Изменена запись: ${oldItem.employee} — ${updatedItem.city}` + (changes.length > 0 ? ` (${changes.join(', ')})` : ''),
who: CURRENT_USER
};