wcs: only load data in context if it's not set (#13006)
This commit is contained in:
parent
e7e5da510d
commit
86e2b10aa4
|
@ -200,7 +200,8 @@ class WcsDataBaseCell(CellBase, WcsBlurpMixin):
|
|||
widgets=self.get_form_widgets())
|
||||
|
||||
def render(self, context):
|
||||
context[self.variable_name] = self.get_data(context)
|
||||
if not self.variable_name in context:
|
||||
context[self.variable_name] = self.get_data(context)
|
||||
return super(WcsDataBaseCell, self).render(context)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue