Skip to content

Commit

Permalink
fix: Zesty.io Mindshare links falling back to old content/not display…
Browse files Browse the repository at this point in the history
…ing properly (#2470)

# Description

Fixed Zesty.io Mindshare links falling back to old content/not
displaying properly

Fixes #2463

## Type of change

Please delete options that are not relevant.

- [x] Bug fix (non-breaking change which fixes an issue)

# How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce.

- [x] Manual Test
- [ ] Unit Test
- [ ] E2E Test

# Screenshots / Screen recording
Before:

![image](https://github.com/zesty-io/website/assets/83058948/a86c3600-4c11-4a84-a665-775085c253d5)

After:

![image](https://github.com/zesty-io/website/assets/83058948/1ae206ce-91cc-4500-b5d2-984d513c3c09)
  • Loading branch information
japhethLG committed Nov 22, 2024
1 parent 4adf45b commit cdbf96b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/layouts/Main/Main.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ const Main = ({
isAuthenticated={isLoggedIn}
userInfo={userInfo?.data}
loading={loading}
cta={'Contact Sales'}
/>
</Stack>
)}
Expand Down
2 changes: 1 addition & 1 deletion src/lib/ZestyView.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function ZestyView(props) {
props.content.meta.layout?.json['layout:root:column:0']?.children,
) === '{}'
) {
return true;
return false;
}

// return only true if the layout is active and has components
Expand Down

0 comments on commit cdbf96b

Please sign in to comment.