[#3344, #2505] optimized records listing

This commit is contained in:
Gani Georgiev
2023-09-24 11:05:12 +03:00
parent 0f5dad7ede
commit 2550a9de54
48 changed files with 442 additions and 236 deletions
+3 -3
View File
@@ -4,7 +4,7 @@
import CommonHelper from "@/utils/CommonHelper";
import SortHeader from "@/components/base/SortHeader.svelte";
import FormattedDate from "@/components/base/FormattedDate.svelte";
import HorizontalScroller from "@/components/base/HorizontalScroller.svelte";
import Scroller from "@/components/base/Scroller.svelte";
const dispatch = createEventDispatcher();
const labelMethodClass = {
@@ -82,7 +82,7 @@
}
</script>
<HorizontalScroller class="table-wrapper">
<Scroller class="table-wrapper">
<table class="table" class:table-loading={isLoading}>
<thead>
<tr>
@@ -211,7 +211,7 @@
{/each}
</tbody>
</table>
</HorizontalScroller>
</Scroller>
{#if items.length}
<small class="block txt-hint txt-right m-t-sm">Showing {items.length} of {totalItems}</small>