texto de chismosa vacia

This commit is contained in:
nat 2022-05-04 15:37:32 -03:00
parent 9fb5275007
commit 34e4fd6bb5
2 changed files with 8 additions and 2 deletions

5
public/css/app.css vendored
View File

@ -26,3 +26,8 @@ nav.breadcrumb.is-fixed-top {
main.has-top-padding {
padding-top: 3rem !important;
}
.has-text-centered {
text-align: center;
margin: 0 1em;
}

View File

@ -1,7 +1,7 @@
Vue.component('chismosa', {
template: `
<div class="container">
<table class="table is-fullwidth is-striped is-bordered">
<table v-show="this.subpedido.productos.length != 0" class="table is-fullwidth is-striped is-bordered">
<thead>
<tr>
<th>Producto</th>
@ -31,6 +31,7 @@ Vue.component('chismosa', {
<producto-row v-for="producto in this.subpedido.productos" :producto="producto" :key="producto.id"></producto-row>
</tbody>
</table>
<p class="has-text-centered" v-show="this.subpedido.productos.length == 0">Compa, todavía no agregaste nada a la chismosa.</p>
</div>
`,
data() {