Show the Feedback button in Portal only (#1775)

This feature is not supported on any other platform incl. Hosted.
This commit is contained in:
Vsevolod Kukol
2024-03-28 16:05:38 +01:00
committed by GitHub
parent 56408a97d7
commit f24b0bcf1b

View File

@@ -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,