Regarding [Bug]: Connection page shows error in "Local Provider" #10595

@Yash.Sharma , I was looking at this issue #10595. The connections page is trying to fetch connections and environments, even when the provider type is “Local”.

Here is where it is calling the APIs:


Can you validate my approach:

Introduce a variable “ProviderType” in the connections page, which restricts calling the APIs when the the provider is set to “Local” ?

Hey @shourya2002-geek, this approach sounds good to me while it is imp to take care of If the Provider is changed frequently by the user, it could lead to race conditions where multiple API calls are made in quick succession. what are your thoughts on this ? @Yash.Sharma