Revert tree bug with NuxtImg
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-06 19:39:25 +01:00
parent 9c882fd69a
commit b5ae29e1d4

View File

@@ -95,7 +95,7 @@ function handleRefresh() {
<div style="display: flex; align-items: center;"> <div style="display: flex; align-items: center;">
<div v-if="tree.data != undefined && tree.data != null" style="width: fit-content; height: fit-content;"> <div v-if="tree.data != undefined && tree.data != null" style="width: fit-content; height: fit-content;">
<NuxtImg ref="start" class="item-img" width="64" height="64" <img ref="start" class="item-img" width="64" height="64"
:alt="tree.data.toString()" :alt="tree.data.toString()"
:src="CDRAGON_BASE + mapPath(itemMap.get(tree.data).iconPath)" /> :src="CDRAGON_BASE + mapPath(itemMap.get(tree.data).iconPath)" />
<h3 style="width: fit-content; margin:auto; margin-bottom: 10px;">{{ ((tree.count / parentCount!!) * 100).toFixed(0) }}%</h3> <h3 style="width: fit-content; margin:auto; margin-bottom: 10px;">{{ ((tree.count / parentCount!!) * 100).toFixed(0) }}%</h3>