Skip to content

Commit

Permalink
Fix secondary responsibilities
Browse files Browse the repository at this point in the history
  • Loading branch information
SplotyCode committed Jul 7, 2023
1 parent bb0ab10 commit 11b7ada
Showing 1 changed file with 8 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,18 +117,16 @@ object PageResponsibilities {
sb.append("\n")
hvEntry.renderTo(sb)
}
if (nv.isNotEmpty() || !nvCustom.isEmpty()) {
sb.append("\n")
if (nvCustom.isEmpty()) {
for (teamler in nv) {
hvCustom.add(Responsibility.concreteTeamster(ResponsibilityType.NV, teamler))
}
}
for (nvEntry in nvCustom) {
sb.append("\n")
nvEntry.renderTo(sb)
if (nvCustom.isEmpty()) {
for (teamler in nv) {
nvCustom.add(Responsibility.concreteTeamster(ResponsibilityType.NV, teamler))
}
}
for (nvEntry in nvCustom) {
sb.append("\n")
println(nvEntry)
nvEntry.renderTo(sb)
}
}
}
sb.append("\n")
Expand Down

0 comments on commit 11b7ada

Please sign in to comment.