favesalon-embed 1.0.20 → 1.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -119,7 +119,7 @@ const BuyGiftcardVerification = class {
119
119
  paddingLeft: '24px',
120
120
  paddingRight: '24px',
121
121
  height: '48px',
122
- }, onClick: () => this.step = FormStep.InputPhone }, "Back"), h("button", { type: "button", disabled: !this.userInfo.firstName && !this.userInfo.lastName, style: {
122
+ }, onClick: () => this.step = FormStep.InputPhone }, "Back"), h("button", { type: "button", disabled: !this.userInfo.firstName || !this.userInfo.lastName, style: {
123
123
  border: `1px solid ${Colors.Secondary}`,
124
124
  backgroundColor: Colors.Secondary,
125
125
  borderRadius: '8px',
@@ -130,7 +130,7 @@ const BuyGiftcardVerification = class {
130
130
  paddingLeft: '24px',
131
131
  paddingRight: '24px',
132
132
  height: '48px',
133
- ...!this.userInfo.firstName && !this.userInfo.lastName ? {
133
+ ...!this.userInfo.firstName || !this.userInfo.lastName ? {
134
134
  color: Colors.TextColor,
135
135
  borderColor: Colors.Gray03,
136
136
  backgroundColor: Colors.Gray03,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "favesalon-embed",
3
- "version": "1.0.20",
3
+ "version": "1.0.21",
4
4
  "description": "Favesalon Embed",
5
5
  "author": "Trung Luu <trung@favesalon.com> (https://favesalon.com)",
6
6
  "main": "dist/index.cjs.js",