Skip to content

Commit

Permalink
Merge pull request #226 from yohamta/fix/config-editor-issue
Browse files Browse the repository at this point in the history
Fix config editor issue
  • Loading branch information
yottahmd authored Aug 1, 2022
2 parents 7a5eeca + beaeedd commit 1b606a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admin/src/components/ConfigInfoTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ type Props = {
};

function ConfigInfoTable({ config }: Props) {
const preconditions = config.Preconditions.map((c) => (
const preconditions = config.Preconditions?.map((c) => (
<li>
{c.Condition}
{' => '}
Expand All @@ -20,7 +20,7 @@ function ConfigInfoTable({ config }: Props) {
<LabeledItem label="Name">{config.Name}</LabeledItem>
<LabeledItem label="Schedule">
<Stack direction={'row'}>
{config.ScheduleExp.map((s) => (
{config.ScheduleExp?.map((s) => (
<Chip
key={s}
sx={{
Expand Down

0 comments on commit 1b606a5

Please sign in to comment.