diff --git a/website/client/components/inventory/equipment/index.vue b/website/client/components/inventory/equipment/index.vue index 2f4111e539..914e55fcc6 100644 --- a/website/client/components/inventory/equipment/index.vue +++ b/website/client/components/inventory/equipment/index.vue @@ -66,7 +66,7 @@ ) .popover-content-text {{ $t(drawerPreference+'PopoverText') }} .items.items-one-line(slot="drawer-slider") - item( + item.pointer( v-for="(label, group) in gearTypesToStrings", :key="group", :item="flatGear[activeItems[group]]", @@ -74,6 +74,7 @@ :emptyItem="!flatGear[activeItems[group]] || flatGear[activeItems[group]].key.indexOf('_base_0') !== -1", :label="label", :popoverPosition="'top'", + @click="equipItem(flatGear[activeItems[group]])", ) template(slot="popoverContent", scope="context") equipmentAttributesPopover(:item="context.item") @@ -113,7 +114,7 @@ starBadge( :selected="activeItems[context.item.type] === context.item.key", :show="!costume || user.preferences.costume", - @click="openEquipDialog(context.item)", + @click="equipItem(context.item)", ) template(slot="popoverContent", scope="context") equipmentAttributesPopover(:item="context.item") @@ -127,6 +128,12 @@ ) + +