Fix reverting to wrong policy when canceling out of the API token custom policy editor.

Review Request #12668 — Created Oct. 4, 2022 and submitted — Latest diff uploaded

Information

Review Board
release-4.0.x

Reviewers

When canceling out of the API token custom policy editor, the policy would
revert to the 2nd previous value instead of the most previous value. This made
it so that sometimes the policy would revert to the wrong value. This change
fixes that so that the policy reverts to the most previous value when
canceling out of the custom policy editor.

  • Manually tested canceling out of the policy editor and made sure
    the right policy was reverted to.

Diff Revision 1 (Latest)

Commits

First Last Summary ID Author
Fix reverting to wrong policy when canceling out of the API token custom poli...
384d8a467f918f9493f42b99b8f7b3f8be4b2563 Michelle Aubin
reviewboard/static/rb/js/accountPrefsPage/views/apiTokensView.es6.js
Loading...