Fix bsod on departmental id consoles (#30468)

* fix bsod

* Update tgui.bundle.js

* Update tgui.bundle.js
This commit is contained in:
kyunkyunkyun
2025-10-01 14:50:47 +00:00
committed by GitHub
parent 37bcc87b39
commit 842d19f0f1
2 changed files with 2 additions and 2 deletions
@@ -61,7 +61,7 @@ export const CardComputerJobTransfer = (props: JobTransferProps) => {
all_centcom_skins,
} = props;
const depts = [
const depts = jobs && [
{ name: 'Special', jobs: jobs.top },
{ name: 'Engineering', color: dept_colors.engineering, jobs: jobs.engineering },
{ name: 'Medical', color: dept_colors.medical, jobs: jobs.medical },
File diff suppressed because one or more lines are too long