Skip to content

Commit

Permalink
Fixes crew monitor (#2085) (#2974)
Browse files Browse the repository at this point in the history
fix crew monitor

Co-authored-by: lessthanthree <[email protected]>
  • Loading branch information
Steals-The-PRs and lessthnthree authored Apr 19, 2024
1 parent cd8ed59 commit 7499462
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tgui/packages/tgui/interfaces/CrewConsoleSkyrat.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export const CrewConsoleSkyrat = () => {

const CrewTable = (props) => {
const { act, data } = useBackend();
const sensors = sortBy((s) => s.ijob)(data.sensors ?? []);
const sensors = sortBy(data.sensors ?? [], (s) => s.ijob);
return (
<Table cellpadding="3">
<Table.Row>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export const CrewConsoleSkyratBlueshield = () => {

const CrewTable = (props) => {
const { act, data } = useBackend();
const sensors = sortBy((s) => s.ijob)(data.sensors ?? []);
const sensors = sortBy(data.sensors ?? [], (s) => s.ijob);
return (
<Table cellpadding="3">
<Table.Row>
Expand Down

0 comments on commit 7499462

Please sign in to comment.