Skip to content

Commit

Permalink
Should sort spells by level
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxWilson committed Nov 26, 2023
1 parent d97f835 commit ab2bc76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/UI/Components/PriestSpellsView.fs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ let View() =
| 3 -> "3rd"
| n -> sprintf "%dth" n
Html.h2 [prop.text (ordinalToText level)]
for spell in spells do
for spell in spells |> List.sort do
Html.li [
Html.span [
prop.text ($"""{spell.name} ({spell.spheres |> String.join "/"})""")
Expand Down

0 comments on commit ab2bc76

Please sign in to comment.