Connect is still enabled when already trying to create a connection
- Dominant language
- TypeScript
- Stars
- 111
- Forks
- 109
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 20
Description
### Describe the Bug with repro steps
1. Go to gallery template and make sure you don't have a connection for event hub.
2. Choose event hub template
3. In connections tab, click 'Connect' to create a connection

Expected:
Connect button is disabled
Actual:
Connect button is enabled and can be clicked again, causing 2 UIs for creating connection appeared.

### Screenshots or Videos
_No response_
### Additional context
_No response_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.