Skip to content

Commit

Permalink
embedvar rows
Browse files Browse the repository at this point in the history
  • Loading branch information
WinterFe committed Oct 17, 2022
1 parent 0283fb3 commit 31a6fc9
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/components/pages/Manage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,18 @@ export default function Manage() {
<div key='EmbedVars'>
<SmallTable
columns={[{ var: 'Var', description: 'Description' }]}
rows={embedvars}
rows={
embedvars
? embedvars.map((x, i) => ({
var: (
<p>
{x.var}
</p>
),
description: x.description,
}))
: []
}
/>
</div>
</SimpleGrid>
Expand Down

0 comments on commit 31a6fc9

Please sign in to comment.