feat: add pokemon trading preferences and item tag inference
Introduce trading preference (Likes/Neutral) for Pokemon with trading skills Infer possible hidden tags for items based on trading observations Update import/export, wipe, and admin config to support trading data
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
<script lang="ts">
|
||||
let openModalCount = 0;
|
||||
</script>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { Icon } from '@iconify/vue';
|
||||
import { nextTick, onBeforeUnmount, onMounted, onUpdated, ref, watch } from 'vue';
|
||||
@@ -54,11 +58,15 @@ const bodyFallbackSelector = [
|
||||
].join(',');
|
||||
|
||||
function lockPage() {
|
||||
openModalCount += 1;
|
||||
document.body.classList.add('lock-scroll');
|
||||
}
|
||||
|
||||
function unlockPage() {
|
||||
document.body.classList.remove('lock-scroll');
|
||||
openModalCount = Math.max(0, openModalCount - 1);
|
||||
if (openModalCount === 0) {
|
||||
document.body.classList.remove('lock-scroll');
|
||||
}
|
||||
}
|
||||
|
||||
function restoreFocus() {
|
||||
|
||||
Reference in New Issue
Block a user