Skip to content

Commit

Permalink
Add conditional visibility for Current Active Users command in web vi…
Browse files Browse the repository at this point in the history
…rtual workspace and remove alt cmds
  • Loading branch information
amitjoshi committed Dec 19, 2024
1 parent 1af6cf5 commit 18fbf3d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,8 @@
{
"command": "powerPlatform.previewCurrentActiveUsers",
"title": "Current Active Users",
"icon": "$(person)"
"icon": "$(person)",
"when": "isWeb && virtualWorkspace"
},
{
"command": "microsoft.powerplatform.pages.preview-site",
Expand Down Expand Up @@ -661,12 +662,10 @@
{
"when": "resourceLangId == html && !virtualWorkspace",
"command": "microsoft-powerapps-portals.preview-show",
"alt": "microsoft-powerapps-portals.preview-show",
"group": "navigation"
},
{
"command": "powerPlatform.previewCurrentActiveUsers",
"alt": "current active users",
"group": "navigation",
"when": "isWeb && virtualWorkspace"
}
Expand Down Expand Up @@ -819,6 +818,10 @@
{
"command": "microsoft.powerplatform.pages.preview-site",
"when": "microsoft.powerplatform.pages.siteRuntimePreviewEnabled"
},
{
"command": "powerPlatform.previewCurrentActiveUsers",
"when": "isWeb && virtualWorkspace"
}
],
"view/title": [
Expand Down

0 comments on commit 18fbf3d

Please sign in to comment.