diff --git a/packages/gitbook/e2e/customers.spec.ts b/packages/gitbook/e2e/customers.spec.ts index aa8e6e4a7..325a44b91 100644 --- a/packages/gitbook/e2e/customers.spec.ts +++ b/packages/gitbook/e2e/customers.spec.ts @@ -117,11 +117,11 @@ const testCases: TestsCase[] = [ contentBaseURL: 'https://docs.gradient.network', tests: [{ name: 'Home', url: '/' }], }, - { - name: 'mygate-network.gitbook.io', - contentBaseURL: 'https://mygate-network.gitbook.io', - tests: [{ name: 'Home', url: '/' }], - }, + // { + // name: 'mygate-network.gitbook.io', + // contentBaseURL: 'https://mygate-network.gitbook.io', + // tests: [{ name: 'Home', url: '/' }], + // }, { name: 'treasurenft.gitbook.io', contentBaseURL: 'https://treasurenft.gitbook.io', diff --git a/packages/gitbook/src/components/Header/SpacesDropdown.tsx b/packages/gitbook/src/components/Header/SpacesDropdown.tsx index 87ad44b5d..f4d16647a 100644 --- a/packages/gitbook/src/components/Header/SpacesDropdown.tsx +++ b/packages/gitbook/src/components/Header/SpacesDropdown.tsx @@ -70,6 +70,7 @@ export function SpacesDropdown(props: { id: space.id, title: space.title, url: getSiteSpaceURL(context, space), + isActive: space.id === siteSpace.id, }))} curPath={siteSpace.path} /> diff --git a/packages/gitbook/src/components/Header/SpacesDropdownMenuItem.tsx b/packages/gitbook/src/components/Header/SpacesDropdownMenuItem.tsx index 2044d0fc6..8d4480107 100644 --- a/packages/gitbook/src/components/Header/SpacesDropdownMenuItem.tsx +++ b/packages/gitbook/src/components/Header/SpacesDropdownMenuItem.tsx @@ -10,6 +10,7 @@ interface VariantSpace { id: Space['id']; title: Space['title']; url: string; + isActive: boolean; } // When switching to a different variant space, we reconstruct the URL by swapping the space path. @@ -64,7 +65,7 @@ export function SpacesDropdownMenuItems(props: { ))}