wcs: don't use is_visible to exclude unconfigured cells (#8641)
This commit is contained in:
parent
fd20a84df1
commit
b9228cb62c
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue