Unify paginator disabling when no result is displayable, fix batch domain add for...
[oweals/peertube.git] / client / src / app / +my-account / my-account-ownership / my-account-ownership.component.html
index c5fd3ccb9e3818c46272bcc345315931ca65cf79..354176a116ef9555219425b53768ea1ff81240f9 100644 (file)
@@ -1,7 +1,7 @@
 <p-table
     [value]="videoChangeOwnerships"
     [lazy]="true"
-    [paginator]="true"
+    [paginator]="totalRecords > 0"
     [totalRecords]="totalRecords"
     [rows]="rowsPerPage"
     [sortField]="sort.field"