Show folders scanned instead of files scanned

This commit is contained in:
Deluan
2020-11-16 00:33:17 -05:00
parent be715c3696
commit a1dcb9a4e3
11 changed files with 60 additions and 30 deletions
+1 -1
View File
@@ -127,7 +127,7 @@ const ActivityPanel = () => {
{translate('activity.totalScanned')}:
</Box>
<Box component="span" flex={1}>
{scanStatus.count}
{scanStatus.folderCount || '-'}
</Box>
</Box>
</CardContent>
+3 -1
View File
@@ -1,6 +1,8 @@
import { EVENT_SCAN_STATUS, EVENT_SERVER_START } from '../actions'
const defaultState = { scanStatus: { scanning: false, count: 0 } }
const defaultState = {
scanStatus: { scanning: false, folderCount: 0, count: 0 },
}
export const activityReducer = (
previousState = {