Skip to content

Commit

Permalink
head fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
wmertens committed Feb 10, 2021
1 parent b92728b commit c682081
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/staging/staging.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ class StagingViewModel {
.getPromise('/head', { path: this.repoPath(), limit: 1 })
.then((head) => {
if (head) {
const array = log[0].message.split('\n');
const array = head.message.split('\n');
this.HEAD({ title: array[0], body: array.slice(2).join('\n') });
} else this.HEAD(null);
})
Expand Down

0 comments on commit c682081

Please sign in to comment.