diff --git a/package.json b/package.json index 85b0b689..d975488a 100644 --- a/package.json +++ b/package.json @@ -368,7 +368,8 @@ { "command": "powerPlatform.previewCurrentActiveUsers", "title": "Current Active Users", - "icon": "$(person)" + "icon": "$(person)", + "when": "isWeb && virtualWorkspace" }, { "command": "microsoft.powerplatform.pages.preview-site", @@ -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" } @@ -819,6 +818,10 @@ { "command": "microsoft.powerplatform.pages.preview-site", "when": "microsoft.powerplatform.pages.siteRuntimePreviewEnabled" + }, + { + "command": "powerPlatform.previewCurrentActiveUsers", + "when": "isWeb && virtualWorkspace" } ], "view/title": [