From 8c3a392b650269c52fd28dce2f3bc61ea69581a3 Mon Sep 17 00:00:00 2001 From: jie Date: Fri, 22 Oct 2021 12:35:35 +0800 Subject: [PATCH] fix bug: WebApp: pagination: no user --- WebApp/WebApp/handlers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WebApp/WebApp/handlers.cpp b/WebApp/WebApp/handlers.cpp index a000533..b01581a 100644 --- a/WebApp/WebApp/handlers.cpp +++ b/WebApp/WebApp/handlers.cpp @@ -363,9 +363,9 @@ std::nullopt_t redirect_to_users( pages_right.push_back(i); } pagination["pages_right"] = pages_right; + context["pagination"] = pagination; } context["users"] = json_users; - context["pagination"] = pagination; return index("users.html", session_ptr, response, context); }