Skip to content

Commit

Permalink
One more skill issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Ssshizoprenia authored Jul 2, 2023
1 parent 7cff437 commit ef73871
Showing 1 changed file with 22 additions and 20 deletions.
42 changes: 22 additions & 20 deletions tgui/packages/tgui/interfaces/StaffWho.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,28 @@ export const StaffWho = (props, context) => {
return (
<Window resizable width={600} height={600}>
<Window.Content scrollable>
<Stack fill vertical>
<Stack.Item mt={0.2} grow>
{administrators.map((x, index) => (
<StaffWhoCollapsible
key={x.index}
title={x.category + ' - ' + x.category_administrators}
color={x.category_color}>
{x.admins.map((x, index) => (
<GetAdminInfo
key={x.index}
admin={admin}
content={x.content}
color={x.color}
text={x.text}
/>
))}
</StaffWhoCollapsible>
))}
</Stack.Item>
</Stack>
{administrators !== undefined && (
<Stack fill vertical>
<Stack.Item mt={0.2} grow>
{administrators.map((x, index) => (
<StaffWhoCollapsible
key={x.index}
title={x.category + ' - ' + x.category_administrators}
color={x.category_color}>
{x.admins.map((x, index) => (
<GetAdminInfo
key={x.index}
admin={admin}
content={x.content}
color={x.color}
text={x.text}
/>
))}
</StaffWhoCollapsible>
))}
</Stack.Item>
</Stack>
)}
</Window.Content>
</Window>
);
Expand Down

0 comments on commit ef73871

Please sign in to comment.