Commit 3c0f5bb
authored
refactor(connection-form)!: use a simpler parameter for differentiating Atlas and non-Atlas connections (#6773)
Since `adjustConnectionOptionsBeforeConnect` is used in places like VSCode where we may not have the same concept of atlasMetadata, it is better for us to be more direct with our parameters and simply ask for `isAtlas`.1 parent dad404d commit 3c0f5bb
File tree
2 files changed
+9
-3
lines changed- packages
- compass-connections/src/stores
- connection-form/src/hooks
2 files changed
+9
-3
lines changedLines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1554 | 1554 | | |
1555 | 1555 | | |
1556 | 1556 | | |
1557 | | - | |
| 1557 | + | |
| 1558 | + | |
| 1559 | + | |
| 1560 | + | |
1558 | 1561 | | |
1559 | 1562 | | |
1560 | 1563 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
849 | 849 | | |
850 | 850 | | |
851 | 851 | | |
852 | | - | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
853 | 856 | | |
854 | 857 | | |
855 | 858 | | |
| |||
869 | 872 | | |
870 | 873 | | |
871 | 874 | | |
872 | | - | |
| 875 | + | |
873 | 876 | | |
874 | 877 | | |
875 | 878 | | |
| |||
0 commit comments