Skip to content

Commit

Permalink
fix: Show export btn when at least one row is displayed
Browse files Browse the repository at this point in the history
  • Loading branch information
tklein1801 committed Jun 9, 2024
1 parent 567de5b commit c648ac5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/Dashboard/Insights.view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ export const InsightsView: React.FC<TInsightsViewProps> = props => {
</ToggleButtonGroup>
</ActionPaper>

{chartData.length > 10 && (
{chartData.length > 0 && (
<Button
sx={{ml: 2, px: 2}}
startIcon={<CloudDownloadRounded />}
Expand Down

0 comments on commit c648ac5

Please sign in to comment.