Skip to content
Snippets Groups Projects
Verified Commit 3d9b44b2 authored by Jakob Moser's avatar Jakob Moser
Browse files

Hide protocol download link when we cannot get protocol meta

This means the user is not logged in to GitLab, is logged in but has no access or something else is awry

In any case, the link would likely lead them to a 404 or an empty page
parent ee278fdc
No related branches found
No related tags found
No related merge requests found
......@@ -60,7 +60,7 @@ export const Fachschaftssitzung = {
name: "Aktuelles Protokoll bearbeiten",
}),
),
m(
latestProtocol.meta && m(
"p",
m(ButtonAndTextLink, {
href: latestProtocol.meta?.downloadLink,
......
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