Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix "home" link on Left Nav #942

Merged
merged 2 commits into from
Jul 11, 2023
Merged

Fix "home" link on Left Nav #942

merged 2 commits into from
Jul 11, 2023

Conversation

joepavitt
Copy link
Contributor

Description

Regression introduced in #911 meant that the "docs" and "handbook" links at the top of the left navigation were just going to our homepage.

Problem was a missing else in the ternary operator.

Can confirm that this link now works across all of handbook, docs and core-nodes documentation.

Checklist

@joepavitt joepavitt requested a review from ZJvandeWeg July 7, 2023 15:54
@netlify
Copy link

netlify bot commented Jul 7, 2023

Deploy Preview for flowforge-website ready!

Name Link
🔨 Latest commit 2dad782
🔍 Latest deploy log https://app.netlify.com/sites/flowforge-website/deploys/64a835179f42af00087e4a99
😎 Deploy Preview https://deploy-preview-942--flowforge-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@joepavitt
Copy link
Contributor Author

@ZJvandeWeg chasing for this please. Nick just raised it with me independently that it was broken, and I knew I'd fixed it somewhere

@ZJvandeWeg
Copy link
Member

This change would break the core node Nav though?

@joepavitt
Copy link
Contributor Author

This change would break the core node Nav though?

It doesn't, test it out: https://deploy-preview-942--flowforge-website.netlify.app/node-red/core-nodes/

Copy link
Member

@knolleary knolleary left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have checked the netlify preview and it all appears to work.

@knolleary knolleary merged commit e4b2ec9 into main Jul 11, 2023
5 checks passed
@knolleary knolleary deleted the fix-hb-main-link branch July 11, 2023 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants