mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-11-21 04:53:02 +03:00
Add select all control to review action group on mobile (#24975)
Mobile has no equivalent of the Ctrl+A shortcut, so selecting many review items means long-pressing one and tapping every other card. Show an "All" control next to "Unselect" on mobile while some items are still unselected, matching Explore, Face Library, and the classification training view.
This commit is contained in:
@@ -481,6 +481,8 @@ export default function EventView({
|
||||
<ReviewActionGroup
|
||||
selectedReviews={selectedReviews}
|
||||
setSelectedReviews={setSelectedReviews}
|
||||
totalItems={currentReviewItems?.length ?? 0}
|
||||
onSelectAllReviews={onSelectAllReviews}
|
||||
onExport={exportReview}
|
||||
pullLatestData={pullLatestData}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user