From 6df0083842117a82da069227ddab87d03593234e Mon Sep 17 00:00:00 2001 From: Iain Learmonth Date: Sat, 21 Jan 2023 14:49:57 +0000 Subject: [PATCH] fix(bridgeconf): fix view_lifecycle params on destroy --- app/portal/bridgeconf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/portal/bridgeconf.py b/app/portal/bridgeconf.py index 1b6d697..5cef81e 100644 --- a/app/portal/bridgeconf.py +++ b/app/portal/bridgeconf.py @@ -126,7 +126,7 @@ def bridgeconf_destroy(bridgeconf_id: int) -> ResponseReturnValue: message=bridgeconf.description, success_view="portal.bridgeconf.bridgeconf_list", success_message="All bridges from the destroyed configuration will shortly be destroyed at their providers.", + section="bridgeconf", resource=bridgeconf, - action="destroy", - **_SECTION_TEMPLATE_VARS + action="destroy" )