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