Skip to content

Updating policy sometimes results in outdated assignment data #145

@pickjasmine

Description

@pickjasmine

Steps to reproduce

  1. Navigate to a policy group that has assignments.
  2. Select a policy that is assigned and edit the policy name.
  3. Navigate back to the policy group with assignments.
  4. See that the policy name is still the old name.

Hard refreshing will force the page to pull the data again. I've tried removing the saved assignment data from state after editing a policy, but SWR will see the same call and reuse its previous data. I've messed around with a couple of the refresh options for SWR, but I haven't had much luck so far.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions