Allow alternative build exploration on desktop :) (fix #7)
All checks were successful
pipeline / build-and-push-images (push) Successful in 31s
pipeline / deploy (push) Successful in 7s

This commit is contained in:
2024-12-07 16:42:01 +01:00
parent 724600c94c
commit fbcf083f9f
2 changed files with 7 additions and 0 deletions

View File

@@ -48,6 +48,9 @@ function updateState(newState : string, newLane : number) {
<ItemViewer v-if="state == 'items' && championData.gameCount > 0"
style="margin:auto; margin-top: 40px;"
:builds="lane.builds!!" />
<ItemTree v-if="state == 'alternatives' && championData.gameCount > 0"
style="margin: auto; margin-top: 40px; width: fit-content;"
:tree="lane.builds!!.tree" />
<h2 v-if="championData.gameCount == 0"
style="margin: auto; margin-top: 20px; width: fit-content;">
Sorry, there is no data for this champion :(