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 6ab5842 commit 3d72e7aCopy full SHA for 3d72e7a
src/components/VersionIframe/index.tsx
@@ -22,10 +22,7 @@ const VersionIframe: React.FC<VersionIframeProps> = ({
22
if (mainUrlParams.has('pageid')) {
23
url.searchParams.set('pageid', mainUrlParams.get('pageid'));
24
const pageId = mainUrlParams.get('pageid');
25
- if (pageId === 'graphql-play-ground') {
26
- // Edge case for graphql-play-ground page
27
- url.pathname = 'docs/graphql-play-ground/';
28
- } else {
+ if (pageId !== 'graphql-play-ground') {
29
const pageIdSplit = pageId.split('__');
30
if (pageIdSplit.length > 1) {
31
// Tutorials module pages have pageids like {subdirectory}_{real_url_ending}, must be split to generate matching URL
0 commit comments