From 670c6003823c9e71dbef55d3bddae3355b876c5b Mon Sep 17 00:00:00 2001 From: Tobias Johansson Date: Thu, 4 Oct 2018 15:48:26 +0200 Subject: [PATCH] Organizations: Added null check to properly render new Organizations --- src/templates/organizations/index.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/templates/organizations/index.pug b/src/templates/organizations/index.pug index dadd72d..7d97450 100644 --- a/src/templates/organizations/index.pug +++ b/src/templates/organizations/index.pug @@ -53,7 +53,7 @@ meta(name="twitter:image", content="{{ url_for('static', filename='assets/img/ba ul.meta li(title="Members") | {{ organization.members|hide_none|count }} Member{{ organization.members|hide_none|count|pluralize }} - | {% if (organization.unknown_members|count) != 0 %} + | {% if (organization.unknown_members|hide_none|count) != 0 %} | ({{ organization.unknown_members|hide_none|count }} pending) | {% endif %} li(title="Seats")