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 199199 <!-- pagination
200200 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)
201201 -->
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" >
205203
206- <div class =" inline-flex " >
204+ <div class =" inline-flex "
205+ v-if =" (rows || totalRows) && totalRows >= pageSize && totalRows > 0"
206+ >
207207 <!-- Buttons -->
208208 <button
209209 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 216216 <!-- pagination
217217 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)
218218 -->
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" >
222220
223- <div class =" inline-flex " >
221+ <div class =" inline-flex "
222+ v-if =" (rows || totalRows) && totalRows >= pageSize && totalRows > 0"
223+ >
224224 <!-- Buttons -->
225225 <button
226226 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