Skip to content

Commit

Permalink
ntoscard templates fix (tgstation#61722)
Browse files Browse the repository at this point in the history
  • Loading branch information
Arkatos1 committed Sep 28, 2021
1 parent 378da49 commit 61c30cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tgui/packages/tgui/interfaces/NtosCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export const NtosCardContent = (props, context) => {
accessFlags,
accessFlagNames,
showBasic,
templates = {},
} = data;

if (!have_id_slot) {
Expand Down Expand Up @@ -70,7 +71,7 @@ export const NtosCardContent = (props, context) => {
}
tooltipPosition="left" />
} >
<TemplateDropdown templates={data} />
<TemplateDropdown templates={templates} />
</Section>)}
<Stack mt={1}>
<Stack.Item grow>
Expand Down

0 comments on commit 61c30cc

Please sign in to comment.