From b1b64acb20dcfa1172c0deffbc6ae50d146b7cca Mon Sep 17 00:00:00 2001 From: Scott Benton Date: Mon, 1 Apr 2024 23:24:04 -0400 Subject: [PATCH 1/2] Update IronswornTracks.tsx --- .../components/CharacterCard/IronswornTracks.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/Campaign/CampaignGMScreenPage/components/CharacterCard/IronswornTracks.tsx b/src/pages/Campaign/CampaignGMScreenPage/components/CharacterCard/IronswornTracks.tsx index ac187c1f..55118b51 100644 --- a/src/pages/Campaign/CampaignGMScreenPage/components/CharacterCard/IronswornTracks.tsx +++ b/src/pages/Campaign/CampaignGMScreenPage/components/CharacterCard/IronswornTracks.tsx @@ -49,7 +49,8 @@ export function IronswornTracks(props: IronswornTracksProps) { {new Array(earnedExp - spentExp).fill(undefined).map((key, index) => ( ))} - {new Array(totalExp - earnedExp).fill(undefined).map((key, index) => ( + + {new Array(Math.max(defaultTotalExp, earnedExp) - earnedExp).fill(undefined).map((key, index) => ( ))} From 67a51ac19044b441244e11fe1a50d258cfeadc3e Mon Sep 17 00:00:00 2001 From: Scott Benton Date: Mon, 1 Apr 2024 23:40:17 -0400 Subject: [PATCH 2/2] Update IronswornTracks.tsx --- .../components/CharacterCard/IronswornTracks.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Campaign/CampaignGMScreenPage/components/CharacterCard/IronswornTracks.tsx b/src/pages/Campaign/CampaignGMScreenPage/components/CharacterCard/IronswornTracks.tsx index 55118b51..ec31f196 100644 --- a/src/pages/Campaign/CampaignGMScreenPage/components/CharacterCard/IronswornTracks.tsx +++ b/src/pages/Campaign/CampaignGMScreenPage/components/CharacterCard/IronswornTracks.tsx @@ -50,7 +50,7 @@ export function IronswornTracks(props: IronswornTracksProps) { ))} - {new Array(Math.max(defaultTotalExp, earnedExp) - earnedExp).fill(undefined).map((key, index) => ( + {new Array(Math.max(totalExp, earnedExp) - earnedExp).fill(undefined).map((key, index) => ( ))}