From 811ddb9b445d369ce80d240c32867c1954b6ad4f Mon Sep 17 00:00:00 2001 From: Leigh Date: Mon, 6 Dec 2021 19:18:07 +0100 Subject: [PATCH] Update the ToolBar position on the Pager Component Add the option "Both" to display the toolbar at the top and bottom of the pager. Nice if the Pager is displaying large sets of data. --- Oqtane.Client/Modules/Controls/Pager.razor | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Oqtane.Client/Modules/Controls/Pager.razor b/Oqtane.Client/Modules/Controls/Pager.razor index fec95246..40dc54ca 100644 --- a/Oqtane.Client/Modules/Controls/Pager.razor +++ b/Oqtane.Client/Modules/Controls/Pager.razor @@ -4,7 +4,7 @@ @if (ItemList != null) { - @if (Toolbar == "Top" && _pages > 0 && Items.Count() > _maxItems) + @if ((Toolbar == "Top" || Toolbar == "Both") && _pages > 0 && Items.Count() > _maxItems) {