History

Link Integrations sidebar heading to home (#1338)

Rhys Sullivan committed 4 months ago

Commit 2be5cb61 parent 5206af21 file · +7 −3Browse files

Unified · Split

packages/app/src/web/shell.tsx+7−3
@@ -205,9 +205,13 @@ function SidebarContent(props: { · 204 unmodified lines
205205 <PluginNav pathname={props.pathname} onNavigate={props.onNavigate} />
206206
207207 {/* Sources list */}
208− <div className="mt-5 mb-1 px-2.5 text-xs font-medium uppercase tracking-widest text-muted-foreground">
209− <a href="/">Integrations</a>
210− </div>
208+ <Link
209+ to="/{-$orgSlug}"
210+ className="mt-5 mb-1 px-2.5 text-xs font-medium uppercase tracking-widest text-muted-foreground"
211+ onClick={props.onNavigate}
212+ >
213+ <span>Integrations</span>
214+ </Link>
211215
212216 <IntegrationList pathname={props.pathname} onNavigate={props.onNavigate} />
213217 </nav>