@@ -1643,15 +1643,15 @@ export default function CustomButton(
1643
1643
<Button
1644
1644
labelWidth = { width }
1645
1645
disabled = {
1646
- buttonUser ? .isLoggedIn && buttonUser ? .isLoggedIn === true ? true : false
1646
+ buttonUser ? .isLoggedIn && buttonUser ? .isLoggedIn == true ? true : false
1647
1647
}
1648
1648
prompt = {
1649
1649
buttonUser?.age && buttonUser?.age > 18
1650
1650
? \`\${buttonUser?.firstname }\$ {\\", cast your vote.\\"}\`
1651
1651
: \\ "Sorry you cannot vote\\ "
1652
1652
}
1653
1653
backgroundColor={
1654
- buttonUser ? .isLoggedIn && buttonUser ? .isLoggedIn === true
1654
+ buttonUser ? .isLoggedIn && buttonUser ? .isLoggedIn == true
1655
1655
? buttonUser ? .loggedInColor
1656
1656
: buttonUser ? .loggedOutColor
1657
1657
}
@@ -1696,20 +1696,20 @@ export default function ConditionalComponentWithDataBinding(
1696
1696
<Flex { ... rest } { ... getOverrideProps (overrides , \\" Flex\\ " )} >
1697
1697
<Text
1698
1698
value = {
1699
- student ? .id && student ? .id === \\" idstringuserinput\\ "
1699
+ student ? .id && student ? .id == \\" idstringuserinput\\ "
1700
1700
? student ? .createdAt
1701
1701
: student ? .id
1702
1702
}
1703
1703
children = {
1704
- student?.id && student?.id === \\"idstringuserinput\\"
1704
+ student?.id && student?.id == \\"idstringuserinput\\"
1705
1705
? student?.createdAt
1706
1706
: student?.id
1707
1707
}
1708
1708
{... getOverrideProps (overrides , \\" Flex.Text[0]\\ " )}
1709
1709
>< / Text >
1710
1710
<Button
1711
1711
value = {
1712
- student ? .id && student ? .id === \\" idstringuserinput\\ "
1712
+ student ? .id && student ? .id == \\" idstringuserinput\\ "
1713
1713
? student ? .createdAt
1714
1714
: student ? .id
1715
1715
}
@@ -1742,7 +1742,7 @@ export default function CustomButton(
1742
1742
return (
1743
1743
/* @ts-ignore: TS2322 */
1744
1744
<Button
1745
- disabled = { buttonColor && buttonColor === \\" red\\ " ? true : false }
1745
+ disabled = { buttonColor && buttonColor == \\" red\\ " ? true : false }
1746
1746
{ ... rest }
1747
1747
{ ... getOverrideProps (overrides , \\" Button\\ " )}
1748
1748
></Button >
0 commit comments