fix(ui): hide ContentCountBadge when count is 0
This commit is contained in:
parent
4e6b8ec8ee
commit
b520220e1c
|
|
@ -11,7 +11,7 @@ export function ContentCountBadge({
|
|||
count: number | null;
|
||||
label?: string;
|
||||
}) {
|
||||
if (count === null) return null;
|
||||
if (count === null || count <= 0) return null;
|
||||
|
||||
return (
|
||||
<View style={styles.badge}>
|
||||
|
|
|
|||
Loading…
Reference in New Issue