Skip to content

Commit 087d330

Browse files
committed
[CMG-736] - Multiple clicks on buttons or links that return results should be prevented.
1 parent 2799cba commit 087d330

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,4 +360,6 @@ upload-api/extracted_files
360360
*copy*
361361
.qodo
362362
.vscode
363-
app.json
363+
app.json
364+
# Snyk Security Extension - AI Rules (auto-generated)
365+
.cursor/rules/snyk_rules.mdc

ui/src/components/AdvancePropertise/index.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -573,12 +573,7 @@ const AdvancePropertise = (props: SchemaProps) => {
573573
props?.data?.contentstackFieldUid
574574
);
575575
}}
576-
options={
577-
(Array.isArray(props?.data?.referenceTo) && props?.data?.referenceTo?.length) ? [props.data.referenceTo.map((item: any) => ({
578-
label: item,
579-
value: item
580-
})), ...option]
581-
: option ?? []}
576+
options={option ?? []}
582577
placeholder="Add Content Type(s)"
583578
version="v2"
584579
isSearchable={true}

0 commit comments

Comments
 (0)