feat: show status

This commit is contained in:
Vlad Stan 2022-10-10 09:35:47 +03:00 committed by dni ⚡
parent 2e0e7fa18c
commit 1f592604b4

View File

@ -76,6 +76,13 @@ page_container %}
{% raw %}
<template v-slot:body="props">
<q-tr :props="props">
<q-td key="status" :props="props">
<div v-if="props.row.status == 'pending'">
<q-icon name="settings_ethernet" color="grey">
<q-tooltip>Pending</q-tooltip>
</q-icon>
</div>
</q-td>
<q-td
key="amount"
:props="props"
@ -518,6 +525,12 @@ page_container %}
payments: [],
buysTable: {
columns: [
{
name: 'status',
align: 'left',
label: '',
field: 'status'
},
{
name: 'amount',
align: 'left',
@ -821,6 +834,7 @@ page_container %}
this.buyTokens.data.memo = ''
this.buyTokens.showDialog = true
},
requestInvoice: async function () {
try {
const {data} = await LNbits.api.request(