Skip to content
Snippets Groups Projects
Commit 5240a86b authored by Vincent Fontesse's avatar Vincent Fontesse
Browse files

fix(footer): fix link in footer for about page

parent fa967213
No related branches found
No related tags found
3 merge requests!81Generate a new master,!80Create a new testing for V13,!74Resolve "Ajouter une page A propos"
......@@ -12,12 +12,14 @@
gcu: {external: false, link: '', content: ''},
personalData: {external: false, link: '', content: ''},
};
let loading = true;
let loading = false;
let currentLocation = '';
onMount(async () => {
const appsettings = await fetch(`${$page.data.env.API_HOST}/appsettings`);
settings = await appsettings.json();
loading = false;
currentLocation = window.location;
});
$: footer = [
......@@ -47,7 +49,7 @@
},
{
text: $_('links.about'),
path: `${$page.data.env.LABOITE_HOST}/about`,
path: `${currentLocation}about`,
},
];
</script>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment