Skip to content

Commit 0e961e6

Browse files
committed
Better indicate what services have maintainers
1 parent de71533 commit 0e961e6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pages/team/[team].js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ export default function Team({team_name, services}) {
2121
{ services.map(svc =>
2222
<tr key="svc.unid">
2323
<td><ServiceLink service={svc} fullname /></td>
24-
<td>{team_name && svc.operatorgroup_firstline == team_name ? "🟥" : "⬜️"}</td>
25-
<td>{team_name && svc.operatorgroup_secondline == team_name ? "🟥" : "⬜️"}</td>
26-
<td>{team_name && svc.operatorgroup_thirdline == team_name ? "🟥" : "⬜️"}</td>
24+
<td>{team_name && svc.operatorgroup_firstline === team_name ? "☑️" : (svc.operatorgroup_firstline ? "⬜️" : "➖")}</td>
25+
<td>{team_name && svc.operatorgroup_secondline === team_name ? "☑️" : (svc.operatorgroup_secondline ? "⬜️" : "➖")}</td>
26+
<td>{team_name && svc.operatorgroup_thirdline === team_name ? "☑️" : (svc.operatorgroup_thirdline ? "⬜️" : "➖")}</td>
2727
</tr>)
2828
}
2929
</tbody>
@@ -51,4 +51,4 @@ export async function getStaticProps(context) {
5151
services: svcs.services,
5252
}
5353
};
54-
}
54+
}

0 commit comments

Comments
 (0)