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

do not render actions if not present #83

Merged
merged 2 commits into from
Jun 18, 2024

Conversation

devjoaov
Copy link
Contributor

No description provided.

Copy link

linear bot commented Jun 17, 2024

@@ -21,8 +23,6 @@ export const DataTableRowActions = ({ row, column }) => {
}
);

if (!actions?.length) return null;
Copy link
Contributor

@ribeirojose ribeirojose Jun 17, 2024

Choose a reason for hiding this comment

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

🤔 why was this not working?

nvm -- actions.filter would error out if actions is null

@devjoaov devjoaov force-pushed the joao/perk-1224-update-bleuprint-version-in-perk branch from cee4711 to a91e9c3 Compare June 18, 2024 17:50
@devjoaov devjoaov force-pushed the joao/perk-1224-update-bleuprint-version-in-perk branch from 194d2db to 91631f0 Compare June 18, 2024 19:15
@devjoaov devjoaov merged commit ecd8a77 into main Jun 18, 2024
2 checks passed
@devjoaov devjoaov deleted the joao/perk-1224-update-bleuprint-version-in-perk branch June 18, 2024 19:18
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