mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
fix: Use minus filter for subtraction in liquid template
This commit is contained in:
parent
07b96bef95
commit
ed5b07374d
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
|||
},
|
||||
{
|
||||
label: 'Lines by human',
|
||||
data: [{% for row in site.data.blame %}{ x: '{{ row.end_tag }}', y: {{ row.total_lines - row.aider_total }} },{% endfor %}],
|
||||
data: [{% for row in site.data.blame %}{ x: '{{ row.end_tag }}', y: {{ row.total_lines | minus: row.aider_total }} },{% endfor %}],
|
||||
backgroundColor: 'rgba(255, 99, 132, 0.8)',
|
||||
borderColor: 'rgba(255, 99, 132, 1)',
|
||||
borderWidth: 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue