From f24b0bcf1b0116df79d72a0af08515060e8b8f25 Mon Sep 17 00:00:00 2001 From: Vsevolod Kukol Date: Thu, 28 Mar 2024 16:05:38 +0100 Subject: [PATCH] Show the Feedback button in Portal only (#1775) This feature is not supported on any other platform incl. Hosted. --- .../Menus/CommandBar/CommandBarComponentButtonFactory.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Explorer/Menus/CommandBar/CommandBarComponentButtonFactory.tsx b/src/Explorer/Menus/CommandBar/CommandBarComponentButtonFactory.tsx index c37ae41fb..869dd2383 100644 --- a/src/Explorer/Menus/CommandBar/CommandBarComponentButtonFactory.tsx +++ b/src/Explorer/Menus/CommandBar/CommandBarComponentButtonFactory.tsx @@ -240,7 +240,7 @@ export function createControlCommandBarButtons(container: Explorer): CommandButt buttons.push(fullScreenButton); } - if (configContext.platform !== Platform.Emulator) { + if (configContext.platform === Platform.Portal) { const label = "Feedback"; const feedbackButtonOptions: CommandButtonComponentProps = { iconSrc: FeedbackIcon,