added icon class
This commit is contained in:
@@ -115,7 +115,13 @@ class ConditionalModule(XModule):
|
||||
self.contents = [self.system.get_module(child_descriptor).get_html()
|
||||
for child_descriptor in self.descriptor.get_children()]
|
||||
|
||||
# TODO make this work
|
||||
self.icon_class = self.system.get_module(
|
||||
self.descriptor.get_children()[0]).get_icon_class()
|
||||
|
||||
html = self.contents
|
||||
|
||||
|
||||
return json.dumps({'html': html, 'passed': True})
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user