centralizing logic in the formstate
This commit is contained in:
@@ -196,7 +196,8 @@ impl UiService {
|
||||
.await
|
||||
{
|
||||
Ok(response) => {
|
||||
form_state.update_from_response(&response.data);
|
||||
// FIX: Pass the current position as the second argument
|
||||
form_state.update_from_response(&response.data, form_state.current_position);
|
||||
Ok(format!(
|
||||
"Loaded entry {}/{} for table {}.{}",
|
||||
form_state.current_position,
|
||||
|
||||
Reference in New Issue
Block a user