Update cancel URL handling in HTTP and timer function templates
- Modify header template to use explicit `cancel_url` parameter - Add `cancel_url` to new timer and HTTP function templates - Remove default URL fallback in header template
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
|
||||
{% block page %}
|
||||
|
||||
{{ render_partial('dashboard/http_functions/header.html', function_id=function_id,
|
||||
{{ render_partial('dashboard/http_functions/header.html',
|
||||
function_id=function_id,
|
||||
active_tab='edit',
|
||||
show_edit_form=True,
|
||||
show_logs=True,
|
||||
|
||||
@@ -9,7 +9,7 @@ show_refresh=False,
|
||||
show_logs=False,
|
||||
show_client=False,
|
||||
show_link=False,
|
||||
dashboardUrl=url_for('timer.overview'),
|
||||
cancel_url=url_for('timer.overview'),
|
||||
title='New Timer Function')
|
||||
}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user