From 629993301a8838355b1ec07b68bf218aec5ea736 Mon Sep 17 00:00:00 2001 From: Iain Learmonth Date: Sun, 29 Oct 2023 19:18:05 +0000 Subject: [PATCH] fix: removing country from origin --- app/portal/origin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/portal/origin.py b/app/portal/origin.py index 73457df..ce171f6 100644 --- a/app/portal/origin.py +++ b/app/portal/origin.py @@ -192,7 +192,7 @@ def origin_country_remove(origin_id: int, country_id: int) -> ResponseReturnValu except sqlalchemy.exc.SQLAlchemyError: flash("An error occurred saving the changes to the origin.", "danger") return render_template("lifecycle.html.j2", - header=f"Remove {country.country_name} from the {origin.domain_name} origin?", + header=f"Remove {country.description} from the {origin.domain_name} origin?", message="Stop monitoring in this country.", section="origin", origin=origin, form=form)