works on Loot adding UI
This commit is contained in:
@@ -56,7 +56,13 @@
|
||||
</nav>
|
||||
<main class="section">
|
||||
<template v-if="isAdding">
|
||||
<ItemInput v-if="playerIsGroup" :source="state.inventory" @addItem="item => pending_loot.push(item)"></ItemInput>
|
||||
<div v-if="playerIsGroup" class="box">
|
||||
<ItemInput v-if="playerIsGroup"
|
||||
:source="state.inventory"
|
||||
@addItem="item => pending_loot.push(item)"
|
||||
></ItemInput>
|
||||
<button>Envoyer</button>
|
||||
</div>
|
||||
<AddingChest
|
||||
:items="playerIsGroup ? pending_loot : state.inventory"
|
||||
:perms="playerIsGroup ? {} : { canBuy: true }"
|
||||
|
||||
Reference in New Issue
Block a user