From d64da2a8b25ec9b437d7e6864a686c12aaff3fac Mon Sep 17 00:00:00 2001 From: zeppi Date: Fri, 22 Apr 2022 11:34:55 -0400 Subject: [PATCH] fix viewedBar bug --- ui/component/fileThumbnail/view.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/component/fileThumbnail/view.jsx b/ui/component/fileThumbnail/view.jsx index 8d642c00f..e97b60c11 100644 --- a/ui/component/fileThumbnail/view.jsx +++ b/ui/component/fileThumbnail/view.jsx @@ -41,7 +41,7 @@ function FileThumbnail(props: Props) { const hasResolvedClaim = claim !== undefined; const isGif = thumbnail && thumbnail.endsWith('gif'); - const viewedBar = showPercentage && watchedPercentage && ( + const viewedBar = Boolean(showPercentage && watchedPercentage) && (