diff --git a/src/components/EquipmentSectionComponent.vue b/src/components/EquipmentSectionComponent.vue index 4789c64..e2d7f57 100644 --- a/src/components/EquipmentSectionComponent.vue +++ b/src/components/EquipmentSectionComponent.vue @@ -66,6 +66,7 @@ v-if="isModalOpen" :is-open="isModalOpen" :slot-type="selectedSlotType" + :slot-index="selectedSlotIndex" :items="availableItemsForSlot" @select-item="equipItem" @close="closeModal" @@ -77,7 +78,7 @@ import { computed, ref } from 'vue' import SlotComponent from './SlotComponent.vue' import ItemSelectionModal from './ItemSelectionModal.vue' // Renamed import -import { useEquipmentStore } from '../stores/equipmentStore' +import { useEquipmentStore } from '@/stores/equipmentStore' import { useWindowSize } from '@vueuse/core' import {Item} from '@/types/itemRegistry' import {useInventoryStore} from '@/stores/inventoryStore' diff --git a/src/components/ItemSelectionModal.vue b/src/components/ItemSelectionModal.vue index 5bafb3b..a391763 100644 --- a/src/components/ItemSelectionModal.vue +++ b/src/components/ItemSelectionModal.vue @@ -1,4 +1,3 @@ -