Pagination fix

This commit is contained in:
Joey Kimsey
2024-08-21 06:12:54 -04:00
parent 464201cf17
commit 42ade08306

View File

@ -156,7 +156,7 @@ class Pagination extends Template {
$pageData = (object) $pageData;
if ( self::totalPages() <= 1 ) {
Components::set( 'PAGINATION', 'no pagination' );
Components::set( 'PAGINATION', '' );
} else {
Components::set( 'PAGINATION', Views::simpleView( 'nav.pagination', $pageData ) );
}