Skip to content

Commit

Permalink
[#2222] Fix Checkboxes Line Count (#2223)
Browse files Browse the repository at this point in the history
Fix Checkboxes Line Count

In c-file-type-checkboxes, the method getLabel() should show fileType,
lineCount and effective line count, but it currently shows fileType,
blankLineCount and effective line count instead.

Let's fix the code to show the correct counts.
  • Loading branch information
sopa301 committed May 18, 2024
1 parent 40da794 commit 7d7a5a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/c-file-type-checkboxes.vue
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export default defineComponent({
blankLineCount: number,
}): string {
return `${label.fileType}\xA0\xA0`
+ `${label.blankLineCount}\xA0\xA0`
+ `${label.lineCount}\xA0\xA0`
+ `(${label.lineCount - label.blankLineCount})\xA0`;
},
},
Expand Down

0 comments on commit 7d7a5a9

Please sign in to comment.