compiled if statement in the read_only mode

This commit is contained in:
filipriec
2025-03-30 13:57:22 +02:00
parent 0a4f59cf8e
commit ed99ebf541
4 changed files with 99 additions and 32 deletions

View File

@@ -73,7 +73,7 @@ impl FormState {
.expect("Invalid current_field index")
}
fn update_from_response(&mut self, response: common::proto::multieko2::adresar::AdresarResponse) {
pub fn update_from_response(&mut self, response: common::proto::multieko2::adresar::AdresarResponse) {
self.id = response.id;
self.values = vec![
response.firma, response.kz, response.drc,