diff --git a/app.py b/app.py index f36b6e8..01b2539 100644 --- a/app.py +++ b/app.py @@ -2131,6 +2131,8 @@ def crop_receipt_user(): @admin_required def admin_panel(): month_str = request.args.get("month") + if not month_str: + month_str = datetime.now(timezone.utc).strftime("%Y-%m") show_all = (month_str == "all") if not show_all: