mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-10-20 20:30:24 +00:00
Point the admin toolbar insights button to /analytics (#4691)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"gitbook": patch
|
||||
---
|
||||
|
||||
Fix the admin toolbar insights button to link to the site's analytics page.
|
||||
@@ -317,7 +317,7 @@ function AuthenticatedUserToolbar(props: ToolbarViewProps) {
|
||||
<ToolbarButton
|
||||
title="Open insights"
|
||||
href={getToolbarHref({
|
||||
href: `${site.urls.app}/insights`,
|
||||
href: `${site.urls.app}/analytics`,
|
||||
siteId: site.id,
|
||||
buttonId: 'insights',
|
||||
})}
|
||||
|
||||
Reference in New Issue
Block a user