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 (#1083)

Co-authored-by: amitjoshi <[email protected]>
  • Loading branch information
amitjoshi438 and amitjoshi authored Dec 20, 2024
1 parent 3007984 commit 3c2bdf2
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 3c2bdf2

Please sign in to comment.