Skip to content

Commit 8247bc2

Browse files
authored
fixed the broken buttons below the bar charts (#340)
1 parent 259fe77 commit 8247bc2

5 files changed

Lines changed: 12 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [2.4.3] - 2025-02-01
6+
7+
### Fixed
8+
9+
- Fixed the broken buttons below the bar charts. Now clicking on them will actually change the bar chart.
10+
511
## [2.4.2] - 2025-01-26
612

713
### Fixed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "league-page",
3-
"version": "2.4.2",
3+
"version": "2.4.3",
44
"homepage": "https://github.com/nmelhado/league-page",
55
"repository": {
66
"type": "git",

src/lib/BarChart.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
<Group variant="outlined">
112112
{#each graphs as graph, ix}
113113
{#if ix < 4}
114-
<Button class="selectionButtons" on:click={() => curGraph = ix} variant="{curGraph == ix ? "raised" : "outlined"}">
114+
<Button class="selectionButtons" onclick={() => curGraph = ix} variant="{curGraph == ix ? "raised" : "outlined"}">
115115
<Label>{graph.short}</Label>
116116
</Button>
117117
{/if}
@@ -121,7 +121,7 @@
121121
<Group variant="outlined">
122122
{#each graphs as graph, ix}
123123
{#if ix > 3}
124-
<Button class="selectionButtons" on:click={() => curGraph = ix} variant="{curGraph == ix ? "raised" : "outlined"}">
124+
<Button class="selectionButtons" onclick={() => curGraph = ix} variant="{curGraph == ix ? "raised" : "outlined"}">
125125
<Label>{graph.short}</Label>
126126
</Button>
127127
{/if}

src/lib/version.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ available for your copy of League Page
55
*/
66

77
// Keep in sync with package.json
8-
export const version = "2.4.2";
8+
export const version = "2.4.3";

0 commit comments

Comments
 (0)