Skip to content

Commit

Permalink
display Sizes without units
Browse files Browse the repository at this point in the history
  • Loading branch information
Evgeny Metelkin committed Jan 30, 2024
1 parent 2245823 commit 4ab4790
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/templates/summary.md.njk
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,9 @@ Switcher: {% for x in img.orphanSwitchers %}{{ x }}, {% endfor %}{{ '-' if not i
### Lost (absent) components

{% for x in img.lostComponents %}{{ x }}, {% endfor %}{{ '-' if not img.lostComponents | length }}

### Const, Record and TimeScale with no units
{% set noUnits = ns.selectByInstanceOf('_Size') | filter2('units') %}
{% for size in noUnits %}{{ size.id }}, {% endfor %}{{ '-' if not noUnits | length }}

{% endfor %}

0 comments on commit 4ab4790

Please sign in to comment.