From 9d921a33aba1d5d48275098c7c13864e031dfbc6 Mon Sep 17 00:00:00 2001 From: Matt Robenolt Date: Tue, 1 Mar 2016 09:17:01 -0800 Subject: [PATCH] Correctly show project selector on organization pages --- src/sentry/templates/sentry/layout.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sentry/templates/sentry/layout.html b/src/sentry/templates/sentry/layout.html index 0b2e083cb63938..7c6f5fa8413499 100644 --- a/src/sentry/templates/sentry/layout.html +++ b/src/sentry/templates/sentry/layout.html @@ -128,7 +128,7 @@ {% endblock %} - {% if organization and request.user.is_authenticated and project %} + {% if organization and request.user.is_authenticated %} {% block sub-header %}
@@ -143,7 +143,7 @@ $(function(){ React.render(React.createFactory(Sentry.ProjectSelector)({ organization: {% serialize_detailed_org organization %}, - projectId: '{{ project.slug }}' + projectId: {% if project %}'{{ project.slug }}'{% else %}null{% endif %}, }), document.getElementById('blk_projectselect')); });