We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12ded26 commit 9d921a3Copy full SHA for 9d921a3
src/sentry/templates/sentry/layout.html
@@ -128,7 +128,7 @@
128
</header>
129
{% endblock %}
130
131
- {% if organization and request.user.is_authenticated and project %}
+ {% if organization and request.user.is_authenticated %}
132
{% block sub-header %}
133
<div class="sub-header">
134
<div class="container">
@@ -143,7 +143,7 @@
143
$(function(){
144
React.render(React.createFactory(Sentry.ProjectSelector)({
145
organization: {% serialize_detailed_org organization %},
146
- projectId: '{{ project.slug }}'
+ projectId: {% if project %}'{{ project.slug }}'{% else %}null{% endif %},
147
}), document.getElementById('blk_projectselect'));
148
});
149
</script>
0 commit comments