Skip to content

Commit

Permalink
v4.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
docentYT committed Dec 10, 2023
1 parent 3ac9384 commit 0c3715a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [4.0.1] - 2023-12-10

### Fixed
- Counting the average for annual grades did not work.

## [4.0.0] - 2023-10-16

### Added
Expand Down
2 changes: 1 addition & 1 deletion extensions/combined/manifest-chrome.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 3,
"name": "Librus Średnia",
"version": "4.0.0",
"version": "4.0.1",
"description": "Wtyczka wyświetlająca średnią ocen dla każdego przedmiotu, mimo że ta funkcja została wyłączona przez administratora szkoły.",
"author": "Krzysztof Kwiatkowski",
"icons": {
Expand Down
2 changes: 1 addition & 1 deletion extensions/combined/src/przegladaj_oceny/srednia.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function annualAverages(tbody, tdsIndexes) {
}

function parseAnnual(tds, annualAndTdsKey) {
const grade = getAnnualGrade(tds, tdsIndexes[annualAndTdsKey]);
const grade = getAnnualGrade(tds, tdsIndexes.get(annualAndTdsKey));
if (grade) {
annualsTemp[annualAndTdsKey][0] += grade;
annualsTemp[annualAndTdsKey][1]++;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "librus-srednia",
"version": "4.0.0",
"version": "4.0.1",
"description": "Rozszerzenie do najpopularniejszych przeglądarek dodające możliwość wyświetlenia średniej z ocen, która nie zaśmieca strony.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 0c3715a

Please sign in to comment.