Convert ReviewReply.discardIfEmpty to use promises.

Review Request #11633 — Created May 28, 2021 and submitted — Latest diff uploaded

Information

Review Board
master

Reviewers

This change updates the ReviewReply.discardIfEmpty logic to use promises
instead of success/error callbacks.

  • Ran js-tests.
  • Verified that the draft reply object was properly discarded when there
    were no more comments attached.

Commits

Files