Commit b59e3f9
committed
fix(events): Improve company email extraction logic for event registration
- Add defensive checks to handle both array and object company data structures
- Extract company email from either array format or direct object property
- Add console logging for debugging company data and extracted email values
- Prevent potential undefined errors when accessing company email during registration flow1 parent f1a6fde commit b59e3f9
1 file changed
+11
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
129 | | - | |
130 | | - | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
131 | 139 | | |
132 | 140 | | |
133 | 141 | | |
| |||
0 commit comments