Skip to content

Commit

Permalink
fix: Apply change from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
ewuerger committed Apr 15, 2024
1 parent e215988 commit 3f12074
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions capellambse_context_diagrams/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,9 +308,9 @@ def handle_features(child: _elkjs.ELKOutputNode) -> list[str]:
if len(child["children"]) <= 1:
return features

labels = [child["children"][0]]
for c in child["children"][1:]:
if not c["type"] == "label":
labels: cabc.MutableSequence[_elkjs.ELKOutputChild] = []
for c in child["children"]:
if c["type"] != "label":
continue

if ":" not in c["text"]:
Expand Down

0 comments on commit 3f12074

Please sign in to comment.