mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-04 13:07:36 +03:00
Remove unused Badge component from ActivityPanel icon
This commit is contained in:
parent
a19a643c65
commit
be12c12b28
1 changed files with 1 additions and 4 deletions
|
@ -3,7 +3,6 @@ import { useDispatch, useSelector } from 'react-redux'
|
||||||
import { useNotify, useTranslate } from 'react-admin'
|
import { useNotify, useTranslate } from 'react-admin'
|
||||||
import {
|
import {
|
||||||
Popover,
|
Popover,
|
||||||
Badge,
|
|
||||||
CircularProgress,
|
CircularProgress,
|
||||||
IconButton,
|
IconButton,
|
||||||
makeStyles,
|
makeStyles,
|
||||||
|
@ -94,9 +93,7 @@ const ActivityPanel = () => {
|
||||||
<div className={classes.wrapper}>
|
<div className={classes.wrapper}>
|
||||||
<Tooltip title={translate('activity.title')}>
|
<Tooltip title={translate('activity.title')}>
|
||||||
<IconButton className={classes.button} onClick={handleMenuOpen}>
|
<IconButton className={classes.button} onClick={handleMenuOpen}>
|
||||||
<Badge badgeContent={null} color="secondary">
|
{up ? <FiActivity size={'20'} /> : <BiError size={'20'} />}
|
||||||
{up ? <FiActivity size={'20'} /> : <BiError size={'20'} />}
|
|
||||||
</Badge>
|
|
||||||
</IconButton>
|
</IconButton>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
{scanStatus.scanning && (
|
{scanStatus.scanning && (
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue