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); }