blueberry
blueberry10mo ago

Partials in a redirect ???

Does anyone have any idea how i can redirect after login to a route with initialised partial: Example: This a-link would take you to the dashboard and fill the partial with overview html.
<a href="/home/dashboard" f-partial="/partials/home/overview">Overview</a>
<a href="/home/dashboard" f-partial="/partials/home/overview">Overview</a>
But when I log in and redirect to "/home/dashboard" is there something i can set for f-partial=???:
headers.set("Location", "/home/dashboard");
return new Response(null, {
status: 303,
headers,
});
headers.set("Location", "/home/dashboard");
return new Response(null, {
status: 303,
headers,
});
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?