Skip to content

Commit

Permalink
Merge pull request #18794 from mvdbeek/fix_masthead_error
Browse files Browse the repository at this point in the history
Fix Masthead error when user not loaded yet
  • Loading branch information
martenson authored Sep 10, 2024
2 parents f669bb3 + 8465a36 commit eabea28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/Masthead/Masthead.vue
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ onMounted(() => {
title="Login"
@click="openUrl('/login/start')" />
<MastheadDropdown
v-if="!isAnonymous && !config.single_user"
v-if="currentUser && !isAnonymous && !config.single_user"
id="user"
class="loggedin-only"
icon="fa-user"
Expand Down

0 comments on commit eabea28

Please sign in to comment.