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: header navigation "hasChildren" always returning true #1315

Merged
merged 1 commit into from
Aug 1, 2022

Conversation

bensinca
Copy link
Contributor

Description
If the value passed to Boolean is an empty array it will always return true.

Related Issue
#1207

Types of changes
[x ] Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
[ x] My code follows the code style of this project.

If the value passed to Boolean is an empty array it will always return true.
@bensinca bensinca changed the title Fix: fix: header navigation "hasChildren" always returning true Fix: Header Navigation "hasChildren" always returning true Jul 31, 2022
@bensinca
Copy link
Contributor Author

@bartoszherba sorry about that PL. I thought you meant the checks failing ( name of the branch ).

@Frodigo Frodigo changed the title Fix: Header Navigation "hasChildren" always returning true fix: header navigation "hasChildren" always returning true Aug 1, 2022
@Frodigo Frodigo added this to the 1.0.2 milestone Aug 1, 2022
@Frodigo Frodigo merged commit e677272 into vuestorefront:develop Aug 1, 2022
@Frodigo Frodigo mentioned this pull request Aug 1, 2022
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.

2 participants