File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
adminforth/spa/src/components Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 6
6
<!-- skelet loader -->
7
7
<div role =" status" v-if =" !resource || !resource.columns"
8
8
class =" max-w p-4 space-y-4 divide-y divide-gray-200 rounded shadow animate-pulse dark:divide-gray-700 md:p-6 dark:border-gray-700" >
9
-
10
9
<div role =" status" class =" max-w-sm animate-pulse" >
11
10
<div class =" h-2 bg-gray-200 rounded-full dark:bg-gray-700 max-w-[360px]" ></div >
12
11
</div >
254
253
255
254
<!-- Help text -->
256
255
<span class =" text-sm text-gray-700 dark:text-gray-400" >
257
- <span v-if =" ((page || 1) - 1) * pageSize + 1 > totalRows" >{{ $t('Wrong Page') }} </span >
258
- <template v-else >
256
+ <span v-if =" (((( page || 1) - 1) * pageSize + 1 > totalRows) && totalRows > 0) " >{{ $t('Wrong Page') }} </span >
257
+ <template v-else-if = " resource && totalRows > 0 " >
259
258
260
259
<span class =" af-pagination-info hidden sm:inline" >
261
260
<i18n-t keypath =" Showing {from} to {to} of {total} Entries" tag =" p" >
Original file line number Diff line number Diff line change 271
271
272
272
<!-- Help text -->
273
273
<span class =" text-sm text-gray-700 dark:text-gray-400" >
274
- <span v-if =" ((page || 1) - 1) * pageSize + 1 > totalRows" >{{ $t('Wrong Page') }} </span >
275
- <template v-else >
274
+ <span v-if =" (((( page || 1) - 1) * pageSize + 1 > totalRows) && totalRows > 0) " >{{ $t('Wrong Page') }} </span >
275
+ <template v-else-if = " resource && totalRows > 0 " >
276
276
277
277
<span class =" hidden sm:inline" >
278
278
<i18n-t keypath =" Showing {from} to {to} of {total} Entries" tag =" p" >
You can’t perform that action at this time.
0 commit comments