| Username | Role | Departments | |
|---|---|---|---|
| {u.username} {#if u.id === me}you{/if} |
{#if ($allDepts ?? []).length > 0}
{#each $allDepts ?? [] as d}
{/each}
{/if}
|
|
|
| {u.username} {#if u.id === me} you {/if} | {roleLabel(u.role)} | {deptNamesFor(u.department_ids || [])} |
{#if u.id !== me}
{/if}
|