Skip to content
Snippets Groups Projects
Commit 5ef8faec authored by Emmanuel Raviart's avatar Emmanuel Raviart
Browse files

Don't fail when there is no GitLab server configured

parent ee400ea1
Branches
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@ export const load: LayoutServerLoad = ({ locals }): App.PageData => {
appTitle,
hasRespositoryToken: gitlabAccessToken !== undefined,
openIdConnectTitleByName: Object.fromEntries(
Object.entries(openIdConnectByName).map(([name, { title }]) => [
Object.entries(openIdConnectByName ?? {}).map(([name, { title }]) => [
name,
title,
]),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment