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

DataTable crashes if only one column is rendered #266

Closed
fbeceic opened this issue Jun 17, 2024 · 0 comments
Closed

DataTable crashes if only one column is rendered #266

fbeceic opened this issue Jun 17, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@fbeceic
Copy link
Collaborator

fbeceic commented Jun 17, 2024

Basic information

  • Tiller version:
    1.14.0
  • Module: data-display

Bug description

When rendering the DataTable component with only one column (or only one column in primary/secondary rows) the component crashes with an error children.map is not a function:

image

Expected behavior

The component successfully renders the DataTable component even if only one column is rendered in a row.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant