fix: q-table
This commit is contained in:
parent
60b3c4d46d
commit
8d2008074e
2 changed files with 4 additions and 3 deletions
|
|
@ -181,4 +181,3 @@ async def m010_add_pay_link_domain(db):
|
||||||
Add domain to pay links
|
Add domain to pay links
|
||||||
"""
|
"""
|
||||||
await db.execute("ALTER TABLE lnurlp.pay_links ADD COLUMN domain TEXT;")
|
await db.execute("ALTER TABLE lnurlp.pay_links ADD COLUMN domain TEXT;")
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -25,9 +25,9 @@
|
||||||
<q-table
|
<q-table
|
||||||
dense
|
dense
|
||||||
flat
|
flat
|
||||||
:data="payLinks"
|
:rows="payLinks"
|
||||||
row-key="id"
|
row-key="id"
|
||||||
:pagination.sync="payLinksTable.pagination"
|
v-model:pagination="payLinksTable.pagination"
|
||||||
>
|
>
|
||||||
{% raw %}
|
{% raw %}
|
||||||
<template v-slot:header="props">
|
<template v-slot:header="props">
|
||||||
|
|
@ -53,6 +53,7 @@
|
||||||
type="a"
|
type="a"
|
||||||
:href="props.row.pay_url"
|
:href="props.row.pay_url"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
class="q-ml-sm"
|
||||||
><q-tooltip>Shareable Page</q-tooltip></q-btn
|
><q-tooltip>Shareable Page</q-tooltip></q-btn
|
||||||
>
|
>
|
||||||
<q-btn
|
<q-btn
|
||||||
|
|
@ -61,6 +62,7 @@
|
||||||
size="xs"
|
size="xs"
|
||||||
icon="visibility"
|
icon="visibility"
|
||||||
:color="($q.dark.isActive) ? 'grey-7' : 'grey-5'"
|
:color="($q.dark.isActive) ? 'grey-7' : 'grey-5'"
|
||||||
|
class="q-ml-sm"
|
||||||
@click="openQrCodeDialog(props.row.id)"
|
@click="openQrCodeDialog(props.row.id)"
|
||||||
><q-tooltip>View Link</q-tooltip></q-btn
|
><q-tooltip>View Link</q-tooltip></q-btn
|
||||||
>
|
>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue