Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove ability to delete runs from the UI #5791

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions templates/flows/flow_results.html
Original file line number Diff line number Diff line change
Expand Up @@ -377,17 +377,9 @@
</temba-tab>
<temba-tab name="{{ _("Runs") |escapejs }}" icon="runs">
<temba-run-list flow="{{ object.uuid }}"
{% if org_perms.flows.flowrun_delete %}allowDelete{% endif %}
-temba-refreshed="handleRunsRefreshed"
class="p-4 flex flex-col flex-grow overflow-hidden">
</temba-run-list>
</temba-tab>
</temba-tabs>
<temba-dialog header="{{ _("Delete Run") |escapejs }}"
primaryButtonName="{{ _("Delete") |escapejs }}"
destructive="true"
-temba-button-clicked="performDelete"
id="confirm-run-delete">
<div class="p-6">{% trans "Deleting this run will remove it from your flow's results. While the messages for the contact will remain, any record of this flow run will be gone forever." %}</div>
</temba-dialog>
{% endblock content %}
Loading