Skip to content

Commit 001ea90

Browse files
committed
fix(mobile): actions rules compatibility
1 parent a635c24 commit 001ea90

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

apps/mobile/src/modules/settings/routes/EditRule.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@ const ConditionSection: React.FC<{ filter: ActionFilter; index: number }> = ({ f
117117
<GroupedInsetListSectionHeader label="Conditions" />
118118

119119
{filter.map((group, groupIndex) => {
120+
if (!Array.isArray(group)) {
121+
group = [group]
122+
}
120123
return (
121124
<GroupedInsetListCard key={groupIndex} className="mb-6">
122125
{group.map((item, itemIndex) => {

0 commit comments

Comments
 (0)