mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 09:44:59 +00:00
fix: Correct misspelled HIGHLIGHT_MODEL in leaderboard.js
This commit is contained in:
parent
eb30791ff4
commit
0f8bb016f4
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
|||
leaderboardData.datasets[0].backgroundColor = function(context) {
|
||||
const row = displayedData[context.dataIndex];
|
||||
const label = leaderboardData.labels[context.dataIndex] || '';
|
||||
if (label && label.includes(HIGHTLIGHT_MODEL)) {
|
||||
if (label && label.includes(HIGHLIGHT_MODEL)) {
|
||||
if (row && row.edit_format === 'whole') return redDiagonalPattern;
|
||||
else return 'rgba(255, 99, 132, 0.2)';
|
||||
} else if (row && row.edit_format === 'whole') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue