What happened:
When I switched in a query editor to a different region from Default, the assets present in that region didn't load.
What you expected to happen:
In the query editor, switching regions loads that region's assets.
How to reproduce it (as minimally and precisely as possible):
Create a datasource connection and set a Default region.
Go to Build a dashboard or to Explore
Select some query type, and click on "Select an asset" dropdown
Now select a different region from the dropdown
Clicking on "Select an asset" dropdown does not load the different region's dropdown
Here is a screen recording. In this example I have set "us-west-2" as a Default region and have no assets there. I switch to "us-east-2" where I do have assets, but they do not load, even when I go to Explore.
What happened: When I switched in a query editor to a different region from Default, the assets present in that region didn't load.
What you expected to happen: In the query editor, switching regions loads that region's assets.
How to reproduce it (as minimally and precisely as possible):
Here is a screen recording. In this example I have set "us-west-2" as a Default region and have no assets there. I switch to "us-east-2" where I do have assets, but they do not load, even when I go to Explore.
https://github.com/grafana/iot-sitewise-datasource/assets/4163034/82e084b2-4975-4392-b906-c144e1a770c4
Anything else we need to know?:
Environment: