From a2dc8931137bc9db08e4a3701611baa8093a121b Mon Sep 17 00:00:00 2001 From: ultrageese Date: Sat, 13 Jun 2026 11:38:34 +1000 Subject: [PATCH] =?UTF-8?q?=D1=88=D0=BE=D1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/src/worker_tab.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/src/worker_tab.rs b/code/src/worker_tab.rs index a62dc2d..74cab9b 100644 --- a/code/src/worker_tab.rs +++ b/code/src/worker_tab.rs @@ -64,7 +64,9 @@ impl WorkerTabViewer { if ui.button("Добавить").clicked() { self.process_worker_state.is_open = true; self.process_worker_state.data.insert("id".to_string(), "0".to_string()); - self.process_worker_ + self.process_worker_state.data.insert("full_name".to_string(), String::new()); + self.process_worker_state.data.insert("hire_date".to_string(), String::new()); + }; if ui.button("Обновить").clicked() { self.update_workers();