Skip to content

Commit

Permalink
Remove ability to delete runs from the UI
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanseymour committed Jan 10, 2025
1 parent c899105 commit add6d07
Showing 1 changed file with 0 additions and 8 deletions.
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 %}

0 comments on commit add6d07

Please sign in to comment.