small fixes, cleans up API
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<PlayerView :id="state.player_id"
|
||||
v-slot="{ player, loot, notifications, actions }">
|
||||
<main id="app" class="container">
|
||||
<header class="section">
|
||||
<header style="padding-bottom: 1.5em;">
|
||||
<HeaderBar :app_state="state">
|
||||
<template v-slot:title>{{ player.name }}</template>
|
||||
<template v-slot:links>
|
||||
@@ -21,12 +21,12 @@
|
||||
{{ p.name }}</a>
|
||||
</template>
|
||||
</HeaderBar>
|
||||
<p v-show="notifications.length > 0">{{ notifications }}</p>
|
||||
<Wealth
|
||||
:wealth="[player.cp, player.sp, player.gp, player.pp]"
|
||||
:debt="player.debt"
|
||||
@update="actions.updateWealth">
|
||||
</wealth>
|
||||
</Wealth>
|
||||
<p v-show="notifications.length > 0">{{ notifications }}</p>
|
||||
</header>
|
||||
<nav>
|
||||
<div class="tabs is-centered is-boxed is-medium">
|
||||
@@ -44,7 +44,7 @@
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
<main class="">
|
||||
<main class="section">
|
||||
<template v-if="isAdding">
|
||||
<h2 v-show="playerIsGroup">ItemInput</h2>
|
||||
<AddingChest
|
||||
|
||||
Reference in New Issue
Block a user