From 5cce657a4b252e39e12f0c531c6e4d39e08aa73f Mon Sep 17 00:00:00 2001 From: samruk_3 Date: Mon, 31 Aug 2026 18:57:47 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=D0=B8=D1=81=D0=BF=D1=80=D0=B0=D0=B2?= =?UTF-8?q?=D0=BB=D0=B5=D0=BD=D0=B0=20=D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D0=B0?= =?UTF-8?q?=20=D0=B2=20updateItem=20+=20localStorage=20=D0=B8=20=D0=BF?= =?UTF-8?q?=D0=BE=D0=B4=D1=82=D0=B2=D0=B5=D1=80=D0=B6=D0=B4=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=20=D1=83=D0=B4=D0=B0=D0=BB=D0=B5=D0=BD=D0=B8=D1=8F?= =?UTF-8?q?=20=D1=83=D0=B6=D0=B5=20=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D0=B0?= =?UTF-8?q?=D1=8E=D1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script.js b/script.js index c63f3c4..5e77f4f 100644 --- a/script.js +++ b/script.js @@ -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 };