Commit 5a51891
committed
fix(integrations): correct integrationType key so the integrations page renders
The merged email-verification blocks (zerobounce, neverbounce, millionverifier)
were serialized into integrations.json with a typo'd `integrationTypes: ["sales"]`
plural array instead of the singular `integrationType` the catalog reads. They
fell into an `undefined` category bucket, and sorting sections by label threw
"Cannot read properties of undefined (reading 'localeCompare')", erroring the
whole page.
- Correct the three entries to `integrationType: "sales"` (matches each block
config's IntegrationType.Sales and the generator's output)
- Defensively skip any integration without an integrationType when grouping so a
single malformed catalog entry can never crash the page again1 parent e257d06 commit 5a51891
2 files changed
Lines changed: 4 additions & 3 deletions
File tree
- apps/sim
- app/workspace/[workspaceId]/integrations
- lib/integrations
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9539 | 9539 | | |
9540 | 9540 | | |
9541 | 9541 | | |
9542 | | - | |
| 9542 | + | |
9543 | 9543 | | |
9544 | 9544 | | |
9545 | 9545 | | |
| |||
9791 | 9791 | | |
9792 | 9792 | | |
9793 | 9793 | | |
9794 | | - | |
| 9794 | + | |
9795 | 9795 | | |
9796 | 9796 | | |
9797 | 9797 | | |
| |||
15180 | 15180 | | |
15181 | 15181 | | |
15182 | 15182 | | |
15183 | | - | |
| 15183 | + | |
15184 | 15184 | | |
15185 | 15185 | | |
15186 | 15186 | | |
| |||
0 commit comments