refactor: update screen.sm pagination display for various management pages

This commit is contained in:
puriphatt 2025-01-28 18:07:57 +07:00
parent 3331afaaa3
commit 5c5e9fac63
15 changed files with 181 additions and 69 deletions

View file

@ -484,12 +484,19 @@ watch(
</div>
<div class="col-4 row justify-center app-text-muted">
{{
$t('general.recordsPage', {
resultcurrentPage: taskOrderList.length,
total: pageState.inputSearch
? taskOrderList.length
: pageState.total,
})
$q.screen.gt.sm
? $t('general.recordsPage', {
resultcurrentPage: taskOrderList.length,
total: pageState.inputSearch
? taskOrderList.length
: pageState.total,
})
: $t('general.ofPage', {
current: taskOrderList.length,
total: pageState.inputSearch
? taskOrderList.length
: pageState.total,
})
}}
</div>
<nav class="col-4 row justify-end">