diff --git a/packages/gatsby-admin/src/pages/index.tsx b/packages/gatsby-admin/src/pages/index.tsx index 6a5072bab9417..2013915cfca9a 100644 --- a/packages/gatsby-admin/src/pages/index.tsx +++ b/packages/gatsby-admin/src/pages/index.tsx @@ -163,6 +163,11 @@ const Index: React.FC<{}> = () => { const [{ data, fetching, error }] = useQuery({ query: ` { + allGatsbyPage { + nodes { + path + } + } allGatsbyPlugin { nodes { name @@ -182,26 +187,30 @@ const Index: React.FC<{}> = () => { return ( - Plugins - - {data.allGatsbyPlugin.nodes - .filter(plugin => plugin.name.indexOf(`gatsby-plugin`) === 0) - .map(plugin => ( - + Pages +
    + {data.allGatsbyPage.nodes + .filter(page => page.path.indexOf(`/dev-404-page/`) !== 0) + .sort((a, b) => a.path.localeCompare(b.path)) + .map(page => ( +
  • + {page.path} +
  • ))} - - +
- Themes + Installed Plugins - {data.allGatsbyPlugin.nodes - .filter(plugin => plugin.name.indexOf(`gatsby-theme`) === 0) - .map(plugin => ( - - ))} + {data.allGatsbyPlugin.nodes.map(plugin => ( + + ))} - - +
) }