feat: show status

This commit is contained in:
Vlad Stan 2022-10-10 09:35:47 +03:00
parent feab3b3a20
commit 7eaf28f6fa

View File

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