Commit 12ca1608 authored by Alfredo Sumaran's avatar Alfredo Sumaran

check if files is set before counting

parent 0402a183
...@@ -268,6 +268,10 @@ class MergeConflictDataProvider { ...@@ -268,6 +268,10 @@ class MergeConflictDataProvider {
getConflictsCount() { getConflictsCount() {
if (!this.vueInstance.conflictsData.files) {
return 0;
}
const files = this.vueInstance.conflictsData.files; const files = this.vueInstance.conflictsData.files;
let count = 0; let count = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment