Skip to content

Commit ab98c3b

Browse files
committed
fix(plugin-sharing): put the empty-condition sentence on sys_assignment_rule.criteria's description line
The empty-state gate ties a permissive-empty statement to the nearest shallower key; on a continuation line it resolved to the field's `required` key rather than `criteria`. The sentence now opens the description, so the statement is attributed to `criteria`. Wording is unchanged in substance. Claude-Session: https://claude.ai/code/session_016WV4d14C8K4gMehVb6jBvA Co-authored-by: Claude <noreply@anthropic.com>
1 parent 796614d commit ab98c3b

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎packages/plugins/plugin-sharing/src/objects/sys-assignment-rule.object.ts‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,8 @@ export const SysAssignmentRule = ObjectSchema.create({
114114
criteria: Field.textarea({
115115
label: 'Condition',
116116
required: false,
117-
description:
118-
'Which new records this rule takes, written as an expression over the record — for example ' +
119-
'record.priority == "high". Leave it empty to take every new record that no earlier rule took.',
117+
description: 'Which new records this rule takes; leave it empty to take every new record that no earlier rule took. ' +
118+
'Written as an expression over the record — for example record.priority == "high".',
120119
group: 'Condition',
121120
}),
122121

0 commit comments

Comments
 (0)