mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-15 03:30:39 +03:00
Disable scan buttons when there's a scan in progress
This commit is contained in:
parent
fddded3260
commit
be715c3696
@ -134,12 +134,18 @@ const ActivityPanel = () => {
|
||||
<Divider />
|
||||
<CardActions>
|
||||
<Tooltip title={translate('activity.quickScan')}>
|
||||
<IconButton onClick={triggerScan(false)}>
|
||||
<IconButton
|
||||
onClick={triggerScan(false)}
|
||||
disabled={scanStatus.scanning}
|
||||
>
|
||||
<VscSync />
|
||||
</IconButton>
|
||||
</Tooltip>
|
||||
<Tooltip title={translate('activity.fullScan')}>
|
||||
<IconButton onClick={triggerScan(true)}>
|
||||
<IconButton
|
||||
onClick={triggerScan(true)}
|
||||
disabled={scanStatus.scanning}
|
||||
>
|
||||
<GiMagnifyingGlass />
|
||||
</IconButton>
|
||||
</Tooltip>
|
||||
|
Loading…
x
Reference in New Issue
Block a user