Fix state of issue verification UI when comments aren't ready.
Review Request #9244 — Created Oct. 3, 2017 and submitted — Latest diff uploaded
If the comment objects aren't ready, the data specifying whether they need
verification or not won't be present, and therefore will always be falsy. This
change wraps the use ofrequiresVerification()
in calls toready()
.
- Was able to freshly load a page with open issues that needed verification,
and clicking the "Fixed" or "Resolve" buttons worked correctly. - Ran js-tests.