feat: moved search inside the transaction table (#2859)

This commit is contained in:
Arc 2024-12-20 06:44:07 +00:00 committed by GitHub
parent 8d1542d982
commit 78437eaf94
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -567,12 +567,28 @@
</template> </template>
<template id="payment-list"> <template id="payment-list">
<div class="row items-center no-wrap q-mb-sm"> <div class="row items-center no-wrap">
<div class="col"> <div class="col">
<span <q-input
class="text-subtitle1 q-my-none col q-mr-sm" v-if="!mobileSimple"
v-text="$t('transactions')" :label="$t('search_by_tag_memo_amount')"
></span> dense
class="q-pr-xl"
v-model="paymentsTable.search"
>
<template v-slot:before>
<q-icon name="search"> </q-icon>
</template>
<template v-slot:append>
<q-icon
v-if="paymentsTable.search !== ''"
name="close"
@click="paymentsTable.search = ''"
class="cursor-pointer"
>
</q-icon>
</template>
</q-input>
</div> </div>
<div class="gt-sm col-auto"> <div class="gt-sm col-auto">
<q-btn-dropdown <q-btn-dropdown
@ -643,24 +659,7 @@
</q-checkbox> </q-checkbox>
</div> </div>
</div> </div>
<div class="row q-my-md"> <div class="row q-my-md"></div>
<q-input
:style="
$q.screen.lt.md
? {
display: mobileSimple ? 'none !important' : ''
}
: ''
"
filled
dense
clearable
v-model="paymentsTable.search"
debounce="300"
:placeholder="$t('search_by_tag_memo_amount')"
class="col"
/>
</div>
<q-table <q-table
dense dense
flat flat