Skip to content

Built-in moderation toggle does not trigger changes on the page

Delvin offers built-in moderation categories for users to select. First, they must toggle the built-in moderation itself. Then, they must toggle any particular category they want to use. When a user clicks a given toggle, the backend processes the change. However, the frontend is not updating the state to reflect the settings change.

To enable or disable buil

The Built-in moderation toggle bar will not respond to click to enable the guardrails.

Steps to Reproduce

  1. Log in
  2. Create a new workspace.
  3. Create a new project.
  4. Enter project.
  5. Click Guardrails
  6. Click Built-in moderation
  7. Click the toggle to enable the settings.
  8. Refresh page (and click on Built-in moderation if you have to)
  9. Click on a moderation category's toggle
  10. Refresh the page (and click on Built-in moderation if you have to)

Despite clicking on the toggle, the page does not display the moderation categories. Screenshot_from_2025-01-08_12-04-06

Upon manually refreshing the page, the moderation categories appear. The frontend display notifications that the setting has been adjusted when clicking individual categories, but the toggle does not reflect the change. Screenshot_from_2025-01-08_12-20-57

Edited by Greg Thompson