inits Loot adding functionnality

This commit is contained in:
2019-06-15 16:18:56 +02:00
parent be5d719068
commit aa23fd7077
3 changed files with 102 additions and 1 deletions

View File

@@ -1,6 +1,9 @@
<template>
<div class="container">
<p class="notification is-paddingless is-info" v-show="canAdd">Peut ajouter</p>
<button v-if="canAdd" class="button is-medium is-info">
Nouveau loot
</button>
<Loot></Loot>
<table class="table is-fullwidth is-striped" >
<thead>
<tr>
@@ -55,6 +58,7 @@
import { store } from '../App.vue'
import Request from './Request.vue'
import PercentInput from './PercentInput.vue'
import Loot from './Loot.vue'
/*
The chest displays the collection of items owned by a player
@@ -78,6 +82,7 @@
components: {
Request,
PercentInput,
Loot,
},
data () {
return {