Feature: nutze für Tabellen eine Pagination

This commit is contained in:
2023-02-25 13:05:32 +01:00
parent d7e99cbf30
commit fbbb563aad
5 changed files with 68 additions and 28 deletions
+3 -2
View File
@@ -5,6 +5,7 @@
let TITLE = "Bearbeitung Einträge"
let activeRecord = null;
let currentPage = 1
</script>
<svelte:head>
@@ -17,7 +18,7 @@
<h1>{TITLE}</h1>
</header>
<article>
<List bind:activeRecord={activeRecord}/>
<List bind:activeRecord={activeRecord} bind:currentPage/>
</article>
</section>
{:else}
@@ -26,7 +27,7 @@
<h1>{TITLE}</h1>
</header>
<article>
<Formular bind:activeRecord={activeRecord}/>
<Formular bind:activeRecord={activeRecord} bind:currentPage/>
</article>
</section>
{/if}