mirror of
https://github.com/zaphar/kitchen.git
synced 2025-07-22 19:40:14 -04:00
When we select a plan date store that date in the app_state
This commit is contained in:
parent
acc922787d
commit
806fdd2721
@ -527,6 +527,7 @@ impl MessageMapper<Message, AppState> for StateMachine {
|
|||||||
original_copy.modified_amts = modified;
|
original_copy.modified_amts = modified;
|
||||||
original_copy.filtered_ingredients = filtered;
|
original_copy.filtered_ingredients = filtered;
|
||||||
original_copy.extras = extras;
|
original_copy.extras = extras;
|
||||||
|
original_copy.selected_plan_date = Some(date.clone());
|
||||||
local_store.set_plan_date(&date);
|
local_store.set_plan_date(&date);
|
||||||
store
|
store
|
||||||
.store_plan_for_date(vec![], &date)
|
.store_plan_for_date(vec![], &date)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user