Skip to content

Commit

Permalink
Set framework page title to framework name (intuitem#1323)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohamed-Hacene authored Jan 7, 2025
2 parents d67956b + f64220c commit d590179
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ export const load = (async ({ fetch, params }) => {
fetch(endpoint).then((res) => res.json()),
fetch(`${BASE_API_URL}/${URLModel}/${params.id}/tree`).then((res) => res.json())
]);
return { URLModel, framework, tree };
return { URLModel, framework, tree, title: framework.name };
}) satisfies PageServerLoad;

0 comments on commit d590179

Please sign in to comment.