Fix a couple bugs in the unified banner.
Review Request #12899 — Created March 21, 2023 and submitted — Latest diff uploaded
This change fixes up two issues we've found while testing the unified
banner:
- Selecting a single review reply and then clicking "Publish" would end
up publishing all replies. This was due to a conditional that needed
to be done in the opposite order.- A last-minute change for the handler that scrolls to the selected
review reply left it with some undefined variable errors (since we
were no longer getting the model from the arguments). This has been
fixed to usethis.model
.
Verified that both bugs were fixed.