Skip to content

Commit 39a78db

Browse files
Copilothotlong
andcommitted
Fix arrow display logic in CRM example pipeline stages
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent d01eb0c commit 39a78db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/examples/src/crm-example.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ console.log('🔄 Sales Pipeline Stages:');
5151
const stageField = opportunityObject.fields.stage;
5252
if (stageField.type === 'select' && stageField.options) {
5353
stageField.options.forEach((option, index) => {
54-
const arrow = index < stageField.options!.length - 2 ? '➡️' : '';
54+
const arrow = index < stageField.options!.length - 1 ? '➡️' : '';
5555
console.log(` ${option.label} ${arrow}`);
5656
});
5757
}

0 commit comments

Comments
 (0)