hlxsites / prisma-cloud-docs-website

blocks and gdoc authored content for https://docs.prismacloud.io
Apache License 2.0
3 stars 2 forks source link

Book not loading in sidenav #158

Closed iansk closed 12 months ago

iansk commented 12 months ago

One book's ToC doesn't load in the left nav.

Repro:

  1. Go to this link: https://main--prisma-cloud-docs-website--hlxsites.hlx.live/prisma/prisma-cloud/en/enterprise-edition/use-cases/visibility-control/visibility-control

  2. Notice that the nav for the Prisma Cloud Application Security Policy Reference doesn't work.

left-nav-policy-ref
  1. Open the Dev Tools. In the Console, there are these errors. The last one pops up after mousing over the Prisma Cloud Application Security Policy Reference book in the sidenav.
left-nav-policy-ref-console-errors

NOTE: The Prisma Cloud Application Security Policy Reference properly loads in the sidenav in the Franklin dev environment (i.e. I can't reproduce the issue there). What's the difference between the prod environment and the dev env?

iansk commented 12 months ago

@maxakuru I still see the exact same issue. Tested in an incognito window just a moment ago.

The left nav doesn't work for the "Policy Reference" book, and I see the same JavaScript error in the Dev Tools console.

maxakuru commented 12 months ago

should be fixed in #160

iansk commented 12 months ago

Looks good, thanks