mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2024-11-24 22:46:40 +00:00
Show the Feedback button in Portal only (#1775)
This feature is not supported on any other platform incl. Hosted.
This commit is contained in:
parent
56408a97d7
commit
f24b0bcf1b
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user