Skip to content

Commit

Permalink
fix(compass-sidebar): ensure connection gets saved as favorite from o…
Browse files Browse the repository at this point in the history
…ld sidebar COMPASS-7980 (#5871)
  • Loading branch information
himanshusinghs authored Jun 6, 2024
1 parent af2d500 commit ff79bd8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/compass-sidebar/src/components/legacy/sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ export function Sidebar({
return saveConnection({
...cloneDeep(initialConnectionInfo),
favorite: newFavoriteInfo,
savedConnectionType: 'favorite',
}) as Promise<any> as Promise<void>;
},
[initialConnectionInfo, saveConnection, setIsFavoriteModalVisible]
Expand Down

0 comments on commit ff79bd8

Please sign in to comment.