microsoft / vscode-azureresourcegroups

VS Code extension for managing Azure resources.
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azureresourcegroups
MIT License
52 stars 28 forks source link

All subscriptions still show in RESOURCES view after unchecking all subscriptions in “Select Subscriptions" option #730

Closed v-ruizh closed 1 year ago

v-ruizh commented 1 year ago

OS: Win10 Build Version: 20230726.3

Repro Steps:

  1. Sign in to Azure.
  2. All subscriptions auto-show in RESOURCES view.
  3. Click “Select Subscriptions…” icon -> Uncheck all subscriptions.
  4. Check whether the "Select Subscriptions..." item shows in RESOURCES view.

Expect: The "Select Subscriptions..." option shows in RESOURCES view. image

Actual: All subscriptions still show in RESOURCES view.

bwateratmsft commented 1 year ago

This is by-design, we have changed the behavior of the select subscriptions slightly so that if zero subscriptions are returned by the filter--i.e., all were unselected--that is treated the same as no filter at all, so all subscriptions will be returned.