Skip to content

fix infinite loading indicator on empty commit results

Administrator requested to merge fix-infinite-loading-for-empty-commits into master

Created by: sqs

If a commit is empty (i.e., it contains no changes, which is possible with e.g. git commit --allow-empty), then this.state.HTML === ''. This causes the loading indicator to be shown forever. Instead, it should check for undefined.

Merge request reports

Loading