mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 18:25:00 +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) {
|
leaderboardData.datasets[0].backgroundColor = function(context) {
|
||||||
const row = displayedData[context.dataIndex];
|
const row = displayedData[context.dataIndex];
|
||||||
const label = leaderboardData.labels[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;
|
if (row && row.edit_format === 'whole') return redDiagonalPattern;
|
||||||
else return 'rgba(255, 99, 132, 0.2)';
|
else return 'rgba(255, 99, 132, 0.2)';
|
||||||
} else if (row && row.edit_format === 'whole') {
|
} else if (row && row.edit_format === 'whole') {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue