From 86d64b2234b27d634bb0dfb0a08fc312acf547cf Mon Sep 17 00:00:00 2001 From: Jens L Date: Mon, 24 Jul 2023 13:59:43 +0200 Subject: [PATCH] web/admin: hide pagination when no data is loaded yet (#6353) Signed-off-by: Jens Langhammer --- web/src/elements/table/TablePagination.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/src/elements/table/TablePagination.ts b/web/src/elements/table/TablePagination.ts index c49b8646b..6cc0a9ebe 100644 --- a/web/src/elements/table/TablePagination.ts +++ b/web/src/elements/table/TablePagination.ts @@ -48,6 +48,9 @@ export class TablePagination extends AKElement { } render(): TemplateResult { + if (!this.pages) { + return html``; + } return html`