From 2a43df34c047d6617d782fbe4058e08d8afe036e Mon Sep 17 00:00:00 2001 From: negue Date: Mon, 25 Sep 2017 20:12:49 +0200 Subject: [PATCH] multiple fixes sep 24 (#9073) * pin purchase-gems + orb of rebirth * show questInfo in items inventory and reward column * un-equip gear using the star / clicking on the drawer --- .../components/inventory/equipment/index.vue | 11 +++++-- .../components/inventory/items/index.vue | 12 ++++++-- .../client/components/shops/market/index.vue | 24 ++++----------- website/client/components/shops/shopItem.vue | 13 ++++++++ website/client/components/ui/starBadge.vue | 2 +- website/common/script/libs/getItemInfo.js | 30 +++++++++++++++++++ 6 files changed, 69 insertions(+), 23 deletions(-) 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 @@ ) + +