fix exit button on order form

This commit is contained in:
creating2morrow 2023-06-22 07:34:44 -04:00
parent 860d66d215
commit a8f79eac02

View file

@ -216,9 +216,8 @@ impl eframe::App for MarketApp {
} }
ui.label("\n"); ui.label("\n");
if ui.button("Exit").clicked() { if ui.button("Exit").clicked() {
self.products = product::find_all(); self.is_ordering = false;
self.is_showing_products = true; self.is_loading = false;
self.is_showing_vendors = false;
} }
}); });