Skip to content

Commit

Permalink
Improve fluidity
Browse files Browse the repository at this point in the history
  • Loading branch information
KwikKill committed Oct 14, 2024
1 parent a66c023 commit ce20346
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SeatingPlan.vue
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const handleHover = (index: number, e: Event) => {
(seatslot) => seatslot.seats.some((seat) => seat.x === x && seat.y === y),
);
if (slot && slot.id !== hoveredTeamSlot.value) {
if (slot) {
hoveredTeamSlot.value = slot.id;
const team = props.tournament.teams.find((t) => (t as unknown as TeamDeref).seat_slot === slot.id);
hoveredTeamSlotName.value = team ? (team as unknown as TeamDeref).name : null;
Expand Down

0 comments on commit ce20346

Please sign in to comment.