Gate sub-components section on eligible devices via can_have_subcomponents()
This commit is contained in:
1 parent
ff1a883170
commit
c0115aebf9
2 files changed
+4
-1
No files matched your search
@@ -108,7 +108,7 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
{% if device.children or not device.is_subcomponent() %}
|
||||
{% if device.children or device.can_have_subcomponents() %}
|
||||
<div class="card">
|
||||
{% if device.children %}
|
||||
<h2>Sub-components</h2>
|
||||
|
||||
Reference in new issue
Block a user