Skip to content

Commit

Permalink
fix: make supported fields explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
BohdanOne committed Dec 3, 2024
1 parent 4c132d3 commit 3faaef8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function ListItem<F extends TabField, S extends AnyObjectSchema>({
} = item;

const shouldDisplayRepeatableBadge = Boolean(
config && "repeat" in config && config.repeat,
(type === "Link" || type === "Group") && config?.repeat,
);

return (
Expand Down

0 comments on commit 3faaef8

Please sign in to comment.