fix: more vue3 q-tables and v-model:value (#2717)

This commit is contained in:
dni ⚡ 2024-09-27 15:18:56 +02:00 committed by GitHub
parent 7ad360d176
commit 953a466119
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 7 additions and 7 deletions

View file

@ -787,7 +787,7 @@
swipeable swipeable
animated animated
v-model="slide" v-model="slide"
:fullscreen.sync="fullscreen" v-model:fullscreen="fullscreen"
thumbnails thumbnails
infinite infinite
:autoplay="autoplay" :autoplay="autoplay"

View file

@ -94,9 +94,9 @@
<q-table <q-table
dense dense
flat flat
:data="paymentsTable.data" :rows="paymentsTable.data"
:columns="paymentsTable.columns" :columns="paymentsTable.columns"
:pagination.sync="paymentsTable.pagination" v-model:pagination="paymentsTable.pagination"
row-key="payment_hash" row-key="payment_hash"
no-data-label="No transactions made yet" no-data-label="No transactions made yet"
:filter="paymentsTable.filter" :filter="paymentsTable.filter"
@ -256,9 +256,9 @@
<q-table <q-table
dense dense
flat flat
:data="invoiceTable.data" :rows="invoiceTable.data"
:columns="invoiceTable.columns" :columns="invoiceTable.columns"
:pagination.sync="invoiceTable.pagination" v-model:pagination="invoiceTable.pagination"
no-data-label="No transactions made yet" no-data-label="No transactions made yet"
:filter="invoiceTable.filter" :filter="invoiceTable.filter"
@request="getInvoices" @request="getInvoices"

View file

@ -6,7 +6,7 @@
<payment-list :wallet="activeWallet" /> <payment-list :wallet="activeWallet" />
</q-card> </q-card>
</q-dialog> </q-dialog>
<q-table :data="wallets" :columns="walletTable.columns"> <q-table :rows="wallets" :columns="walletTable.columns">
<template v-slot:header="props"> <template v-slot:header="props">
<q-tr :props="props"> <q-tr :props="props">
<q-th auto-width></q-th> <q-th auto-width></q-th>

View file

@ -27,7 +27,7 @@ include "users/_createWalletDialog.html" %}
row-key="id" row-key="id"
:rows="users" :rows="users"
:columns="usersTable.columns" :columns="usersTable.columns"
:pagination.sync="usersTable.pagination" v-model:pagination="usersTable.pagination"
:no-data-label="$t('no_users')" :no-data-label="$t('no_users')"
:filter="usersTable.search" :filter="usersTable.search"
:loading="usersTable.loading" :loading="usersTable.loading"