File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
adminforth/spa/src/components Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 199
199
<!-- pagination
200
200
totalRows in v-if is used to not hide page input during loading when user puts cursor into it and edit directly (rows gets null there during edit)
201
201
-->
202
- <div class =" flex flex-row items-center mt-4 xs:flex-row xs:justify-between xs:items-center gap-3"
203
- v-if =" (rows || totalRows) && totalRows >= pageSize && totalRows > 0"
204
- >
202
+ <div class =" flex flex-row items-center mt-4 xs:flex-row xs:justify-between xs:items-center gap-3" >
205
203
206
- <div class =" inline-flex " >
204
+ <div class =" inline-flex "
205
+ v-if =" (rows || totalRows) && totalRows >= pageSize && totalRows > 0"
206
+ >
207
207
<!-- Buttons -->
208
208
<button
209
209
class =" flex items-center py-1 px-3 gap-1 text-sm font-medium text-gray-900 focus:outline-none bg-white border-r-0 rounded-s border border-gray-300 hover:bg-gray-100 hover:text-lightPrimary focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700 disabled:opacity-50"
Original file line number Diff line number Diff line change 216
216
<!-- pagination
217
217
totalRows in v-if is used to not hide page input during loading when user puts cursor into it and edit directly (rows gets null there during edit)
218
218
-->
219
- <div class =" flex flex-row items-center mt-4 xs:flex-row xs:justify-between xs:items-center gap-3"
220
- v-if =" (rows || totalRows) && totalRows >= pageSize && totalRows > 0"
221
- >
219
+ <div class =" flex flex-row items-center mt-4 xs:flex-row xs:justify-between xs:items-center gap-3" >
222
220
223
- <div class =" inline-flex " >
221
+ <div class =" inline-flex "
222
+ v-if =" (rows || totalRows) && totalRows >= pageSize && totalRows > 0"
223
+ >
224
224
<!-- Buttons -->
225
225
<button
226
226
class =" flex items-center py-1 px-3 gap-1 text-sm font-medium text-gray-900 focus:outline-none bg-white border-r-0 rounded-s border border-gray-300 hover:bg-gray-100 hover:text-lightPrimary focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700 disabled:opacity-50"
You can’t perform that action at this time.
0 commit comments