Skip to content

Commit

Permalink
remove tab for self-hosted
Browse files Browse the repository at this point in the history
  • Loading branch information
laushinka authored and roboquat committed May 27, 2022
1 parent ce2d693 commit a0e21bc
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions components/dashboard/src/Menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import { getProjectSettingsMenu } from "./projects/ProjectSettings";
import { ProjectContext } from "./projects/project-context";
import { PaymentContext } from "./payment-context";
import FeedbackFormModal from "./feedback-form/FeedbackModal";
import { isGitpodIo } from "./utils";

interface Entry {
title: string;
Expand Down Expand Up @@ -376,9 +377,11 @@ export default function Menu() {
/>
</li>
))}
<li className="cursor-pointer">
<PillMenuItem name="Feedback" onClick={handleFeedbackFormClick} />
</li>
{isGitpodIo() && (
<li className="cursor-pointer">
<PillMenuItem name="Feedback" onClick={handleFeedbackFormClick} />
</li>
)}
</ul>
</nav>
<div
Expand Down

0 comments on commit a0e21bc

Please sign in to comment.