web/admin: hide pagination when no data is loaded yet (#6353)

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens L 2023-07-24 13:59:43 +02:00 committed by GitHub
parent a320aec9d0
commit 86d64b2234
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -48,6 +48,9 @@ export class TablePagination extends AKElement {
}
render(): TemplateResult {
if (!this.pages) {
return html``;
}
return html` <div class="pf-c-pagination pf-m-compact pf-m-hidden pf-m-visible-on-md">
<div class="pf-c-pagination pf-m-compact pf-m-compact pf-m-hidden pf-m-visible-on-md">
<div class="pf-c-options-menu">