feat(core): enable quick select for trash page (#12878)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enabled quick select functionality in the Trash page, allowing users to more efficiently select multiple items. - Improved selection mode activation when using quick select actions in document explorer views. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
parent
da980876cb
commit
3a124b67bd
@ -210,6 +210,7 @@ export const QuickSelect = memo(function QuickSelect({
|
||||
|
||||
const onChange = useCallback(
|
||||
(e: React.MouseEvent<HTMLButtonElement>) => {
|
||||
contextValue.selectMode$?.next(true);
|
||||
onClick?.(e);
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
|
@ -60,6 +60,7 @@ export const TrashPage = () => {
|
||||
quickFavorite: false,
|
||||
quickDeletePermanently: true,
|
||||
quickRestore: true,
|
||||
quickSelect: true,
|
||||
groupBy: undefined,
|
||||
orderBy: undefined,
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user