refactor(News-Paginator@Bottom):also adds the pagination at the bottom of the news, so that the user doesn't have to scroll up if he reaches the end

This commit is contained in:
SimonGschnell
2024-12-11 12:44:06 +01:00
parent fcbb9e43a4
commit e215e9e948
+3 -1
View File
@@ -38,7 +38,7 @@ export default {
template: /*html*/ `
<h2 >News</h2>
<hr/>
<pagination :page_size="page_size" @page="loadNewPageContent" :maxPageCount="maxPageCount">
<pagination v-show="content?true:false" :page_size="page_size" @page="loadNewPageContent" :maxPageCount="maxPageCount">
</pagination>
<div class="container-fluid">
<div class="row">
@@ -51,5 +51,7 @@ export default {
</div>
</div>
</div>
<pagination v-show="content?true:false" :page_size="page_size" @page="loadNewPageContent" :maxPageCount="maxPageCount">
</pagination>
`,
};