Simplify timer function edit template configuration

- Disable public, log request, and log response toggles in edit template
- Streamline edit view configuration for timer functions
This commit is contained in:
Peter Stockings
2025-02-17 19:25:31 +11:00
parent 17457e492e
commit 0a70f90953

View File

@@ -37,7 +37,10 @@ history_url=url_for('timer.history', function_id=function_id)) }}
showDeleteButton: true,
isTimer: true,
showTimerSettings: true,
cancelUrl: "{{ url_for('timer.overview') }}"
cancelUrl: "{{ url_for('timer.overview') }}",
showPublicToggle: false,
showLogRequestToggle: false,
showLogResponseToggle: false
})
})
</script>