Skip to content

Commit 2c80886

Browse files
committed
fix:refactored the key for disabling the Advanced properties for title and url in existing case
1 parent 9aa6d79 commit 2c80886

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/src/components/ContentMapper/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1586,8 +1586,8 @@ const ContentMapper = forwardRef(({handleStepChange}: contentMapperProps, ref: R
15861586
{(!OptionValue?.isDisabled || OptionValue?.label === 'Dropdown'||
15871587
(data?.backupFieldType !== 'extension' &&
15881588
data?.backupFieldType !== 'app' &&
1589-
data?.otherCmsField !== 'title' &&
1590-
data?.otherCmsField !== 'url')) && (
1589+
data?.backupFieldUid !== 'title' &&
1590+
data?.backupFieldUid !== 'url')) && (
15911591
<div className='advanced-setting-button'>
15921592
<Tooltip
15931593
content="Advanced properties"

0 commit comments

Comments
 (0)