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 conflicting props / data name for columns #61

Merged
merged 3 commits into from
Jul 28, 2021

Conversation

Skullbock
Copy link
Contributor

Description

Columns is a data name already use by the parent Listing vue component.
Let's rename the prop to initialColumns to avoid conflicts

Related Issues

Copy link
Member

@duncanmcclean duncanmcclean left a comment

Choose a reason for hiding this comment

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

Thanks! Committed to resolve a conflict with #59.

Out of curiosity, was this causing issues for you or was it just a little thing you noticed while diving through the code? 😅

@duncanmcclean duncanmcclean merged commit b02742b into statamic-rad-pack:2.1 Jul 28, 2021
@Skullbock
Copy link
Contributor Author

This was causing issues to me on statamic 3.1.29 and i noticed the warning in the console log from Vue. Then i dove into it to discover what was generating it.

The issue appeared when trying to choose the columns to show on the index.

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