Fix issue where on page refresh when on function edit/new sub pages you would be redirected back to dashboard
This commit is contained in:
@@ -1,8 +1,13 @@
|
||||
{% extends 'dashboard.html' %}
|
||||
|
||||
{% block page %}
|
||||
|
||||
{{ render_partial('dashboard/http_functions/header.html', title='New HTTP function', user_id=user_id, show_name=False,
|
||||
show_refresh=False, show_logs=False,
|
||||
show_client=False, show_link=False)
|
||||
}}
|
||||
|
||||
|
||||
{{ render_partial('function_editor.html', name=name, script=script, environment_info=environment_info,
|
||||
is_public=is_public, log_request=log_request, log_response=log_response, is_add=True) }}
|
||||
is_public=is_public, log_request=log_request, log_response=log_response, is_add=True) }}
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user