wcs: don't use is_visible to exclude unconfigured cells (#8641)

This commit is contained in:
Frédéric Péters 2015-10-29 17:44:08 +01:00
parent fd20a84df1
commit b9228cb62c
1 changed files with 2 additions and 2 deletions

View File

@ -262,8 +262,8 @@ class WcsFormsOfCategoryCell(WcsCommonCategoryCell, WcsBlurpMixin):
def api_url(self):
return self.category_reference.split(':')[1] + '/json'
def is_visible(self, user=None):
return self.category_reference
def is_relevant(self, user=None):
return bool(self.category_reference)
def render(self, context):
if not self.category_reference: