From 5e131ddb475de7cd9821c4a0245fc5c64035a6b4 Mon Sep 17 00:00:00 2001 From: HampusM Date: Thu, 3 Jun 2021 12:12:05 +0200 Subject: Added missing semicolons in the CommitPatch component --- src/frontend/components/CommitPatch.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/frontend/components') diff --git a/src/frontend/components/CommitPatch.vue b/src/frontend/components/CommitPatch.vue index 53edeb9..334c0ba 100644 --- a/src/frontend/components/CommitPatch.vue +++ b/src/frontend/components/CommitPatch.vue @@ -85,13 +85,13 @@ export default { if(hunk['new'].includes(line_index)) { first_td = h("td", ""); second_td = h("td", { class: "line-highlight-new" }, Number(hunk["new_start"]) + line_index - new_offset); - third_td = h("td", { class: "line-new" }, "+") + third_td = h("td", { class: "line-new" }, "+"); deleted_offset++; } else if(hunk['deleted'].includes(line_index)) { first_td = h("td", Number(hunk["old_start"]) + line_index - deleted_offset); second_td = h("td", { class: "line-highlight-deleted" }); - third_td = h("td", { class: "line-deleted" }, "-") + third_td = h("td", { class: "line-deleted" }, "-"); new_offset++; } else { @@ -145,5 +145,5 @@ export default { return () => h("div", { class: "commit-file" }, commit_patch); } -} +}; \ No newline at end of file -- cgit v1.2.3-18-g5258