From 83917eec706a7efb4f5232ba0ec90d611ee1f109 Mon Sep 17 00:00:00 2001 From: vhaudiquet Date: Sun, 24 Nov 2024 20:58:15 +0100 Subject: [PATCH] Hardened frontend --- frontend/components/ItemViewer.vue | 14 +++++++++++--- frontend/components/RuneSelector.vue | 9 ++++++--- 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/frontend/components/ItemViewer.vue b/frontend/components/ItemViewer.vue index 0634b31..76845d3 100644 --- a/frontend/components/ItemViewer.vue +++ b/frontend/components/ItemViewer.vue @@ -35,7 +35,10 @@ for(let item of items.value) {
- +

{{ item.count }}

@@ -50,7 +53,10 @@ for(let item of items.value) {

boots

- +

{{ item.count }}

@@ -60,7 +66,9 @@ for(let item of items.value) {

late game

- +

{{ item.count }}

diff --git a/frontend/components/RuneSelector.vue b/frontend/components/RuneSelector.vue index 4cd367e..70f40ae 100644 --- a/frontend/components/RuneSelector.vue +++ b/frontend/components/RuneSelector.vue @@ -52,9 +52,12 @@ function runeSelect(rune) {
- - - + + +

{{ (rune.pickrate * 100).toFixed(2) }}% pick.