Skip to content

Commit

Permalink
Fix boss run info editing
Browse files Browse the repository at this point in the history
  • Loading branch information
hyoretsu committed Dec 6, 2024
1 parent b126dec commit 7a6d771
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/bosses/tracker/components/BossTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ export default function BossTable() {
max={6}
onChange={e => {
const updatedInfo = {
...runInfo,
partySize: Number(e.currentTarget.value),
};

Expand Down Expand Up @@ -376,6 +377,7 @@ export default function BossTable() {

const [time, unit] = e.currentTarget.value.split(/(m|s)/g);
const updatedInfo = {
...runInfo,
timeTaken: Number(time) * (unit === "m" ? 60 : 1),
};

Expand Down

0 comments on commit 7a6d771

Please sign in to comment.