|
@ -45,6 +45,10 @@ export class GitStatus { |
|
|
return this.files.filter(f => f.conflicted); |
|
|
return this.files.filter(f => f.conflicted); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
get hasChanges() { |
|
|
|
|
|
return this.files.length !== 0; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
@memoize() |
|
|
@memoize() |
|
|
get hasConflicts() { |
|
|
get hasConflicts() { |
|
|
return this.files.some(f => f.conflicted); |
|
|
return this.files.some(f => f.conflicted); |
|
|