Skip to content

Commit

Permalink
fix: Superset logo link when logged out (#7118)
Browse files Browse the repository at this point in the history
Closes #7107
  • Loading branch information
enricoberti authored and kristw committed Mar 27, 2019
1 parent ee36ce8 commit cd54a56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/templates/appbuilder/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/superset{{ logo_target_path }}">
<a class="navbar-brand" href="{{ '/superset' + logo_target_path if current_user.username is defined else '#' }}">
<img
width="{{ app_icon_width }}"
src="{{ appbuilder.app_icon }}"
Expand Down

0 comments on commit cd54a56

Please sign in to comment.