mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
apply suggestion
Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
This commit is contained in:
parent
4562f34995
commit
3adf4e8651
1 changed files with 4 additions and 8 deletions
|
@ -88,15 +88,11 @@ const RefreshIndicator: FC<RefreshIndicatorProps> = ({ item, className }) => {
|
|||
|
||||
const progressringClass = classNames('progressring', className);
|
||||
|
||||
return (
|
||||
<div>
|
||||
{showProgressBar && (
|
||||
<div className={progressringClass}>
|
||||
<CircularProgressWithLabel value={Math.floor(progress)} />
|
||||
</div>
|
||||
)}
|
||||
return showProgressBar ? (
|
||||
<div className={progressringClass}>
|
||||
<CircularProgressWithLabel value={Math.floor(progress)} />
|
||||
</div>
|
||||
);
|
||||
) : null;
|
||||
};
|
||||
|
||||
export default RefreshIndicator;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue