web/admin: hide pagination when no data is loaded yet (#6353)
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
parent
a320aec9d0
commit
86d64b2234
|
@ -48,6 +48,9 @@ export class TablePagination extends AKElement {
|
||||||
}
|
}
|
||||||
|
|
||||||
render(): TemplateResult {
|
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">
|
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-pagination pf-m-compact pf-m-compact pf-m-hidden pf-m-visible-on-md">
|
||||||
<div class="pf-c-options-menu">
|
<div class="pf-c-options-menu">
|
||||||
|
|
Reference in a new issue