Skip to content

Commit

Permalink
fix: don't show progress as label when it is 0
Browse files Browse the repository at this point in the history
  • Loading branch information
tomcur committed Feb 14, 2024
1 parent 7431e6e commit 37a91e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Components/Notifications/components/Notification.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export function NotificationMsg({ notification, time: time_, dismiss }: Props) {
error={notification.kind === NotificationKind.error}
onDismiss={dismiss}
/>
{progress && <Progress percent={progress || 0} attached="bottom" />}
{progress !== undefined && <Progress percent={progress || 0} attached="bottom" />}
</>
);
}
Expand Down

0 comments on commit 37a91e4

Please sign in to comment.