We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58a9e39 commit c267ce3Copy full SHA for c267ce3
components/dashboard/src/Menu.tsx
@@ -208,11 +208,18 @@ export default function Menu() {
208
)
209
}
210
211
+ const gitpodIconUrl = () => {
212
+ if (team) {
213
+ return `/t/${team.slug}`;
214
+ }
215
+ return "/"
216
217
+
218
return <>
219
<header className={`lg:px-28 px-10 flex flex-col pt-4 space-y-4 ${isMinimalUI || !!prebuildId ? 'pb-4' : ''}`} data-analytics='{"button_type":"menu"}'>
220
<div className="flex h-10">
221
<div className="flex justify-between items-center pr-3">
- <Link to="/">
222
+ <Link to={gitpodIconUrl()}>
223
<img src={gitpodIcon} className="h-6" />
224
</Link>
225
{!isMinimalUI && <div className="ml-2 text-base">
0 commit comments