Skip to content

Commit

Permalink
fix(/search): Fix IndexError on HSR character sub skill selection
Browse files Browse the repository at this point in the history
Fixes HOYO-BUDDY-8D
  • Loading branch information
seriaati committed Jun 16, 2024
1 parent 036c0de commit 79ccec8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hoyo_buddy/ui/hoyo/hsr/search/character.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ async def update(self, i: Interaction) -> None: # noqa: PLR0912, PLR0915
ItemSelector(
[
SelectOption(
label=f"{s.skill_list[0].type}: {s.skill_list[0].name}",
label=f"{s.name}",
value=str(index),
default=index == self._sub_skill_index,
)
Expand Down

0 comments on commit 79ccec8

Please sign in to comment.