aliases Chest to force creation of distinct ones
This commit is contained in:
@@ -47,11 +47,11 @@
|
|||||||
<main class="">
|
<main class="">
|
||||||
<template v-if="isAdding">
|
<template v-if="isAdding">
|
||||||
<h2 v-show="playerIsGroup">ItemInput</h2>
|
<h2 v-show="playerIsGroup">ItemInput</h2>
|
||||||
<Chest
|
<AddingChest
|
||||||
:items="playerIsGroup ? [] : shopInventory"
|
:items="playerIsGroup ? [] : shopInventory"
|
||||||
:perms="playerIsGroup ? {} : { canBuy: true }"
|
:perms="playerIsGroup ? {} : { canBuy: true }"
|
||||||
@buy="(data) => { switchView('player'); actions.buyItems(data); }">
|
@buy="(data) => { switchView('player'); actions.buyItems(data); }">
|
||||||
</Chest>
|
</AddingChest>
|
||||||
</template>
|
</template>
|
||||||
<Chest v-else
|
<Chest v-else
|
||||||
:items="showPlayerChest ? loot : state.group_loot"
|
:items="showPlayerChest ? loot : state.group_loot"
|
||||||
@@ -103,6 +103,7 @@ export default {
|
|||||||
components: {
|
components: {
|
||||||
PlayerView,
|
PlayerView,
|
||||||
HeaderBar,
|
HeaderBar,
|
||||||
|
'AddingChest': Chest,
|
||||||
Chest,
|
Chest,
|
||||||
Wealth
|
Wealth
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user