Skip to content

Commit

Permalink
Fix error when changing a year
Browse files Browse the repository at this point in the history
  • Loading branch information
vsimakhin committed Oct 21, 2024
1 parent 64c4a98 commit 693712a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [2.43.2] - 21.10.2024

- Fix: Error on `Total by Month` page when changing a year in Chrome and MS Edge browsers.

## [2.43.1] - 21.10.2024

- Fix: Attachments not uploaded if the new record saved and page wasn't reloaded
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ You also can easily export all flight records into EASA style pdf format, print

# Changelog

## [2.43.2] - 21.10.2024

- Fix: Error on `Total by Month` page when changing a year in Chrome and MS Edge browsers.

## [2.43.1] - 21.10.2024

- Fix: Attachments not uploaded if the new record saved and page wasn't reloaded
Expand Down
2 changes: 1 addition & 1 deletion app/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
)

const (
version = "2.43.1"
version = "2.43.2"

infoLogPrefix = "INFO\t"
errorLogPrefix = "ERROR\t"
Expand Down
2 changes: 1 addition & 1 deletion app/static/js/wlb-stats-totals-month.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
const statsTotalsByMonth = function () {
const yearChange = async () => {
const api = await commonUtils.getApi('StatsTotalsByMonthYearPage');
year = commonUtils.getElementValue("year");
const year = commonUtils.getElementValue("year");
window.location.href = api.replace('{year}', year);
}

Expand Down

0 comments on commit 693712a

Please sign in to comment.