fix(core): show toolbar when quick select doc explorer (#12601)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Selection mode is now automatically activated when a document is
selected or deselected in the quick actions view.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
Cats Juice 2025-06-23 18:35:02 +08:00 committed by GitHub
parent ea92e2291d
commit dd1b8ff920
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -214,6 +214,7 @@ export const QuickSelect = memo(function QuickSelect({
onClick?.(e);
e.stopPropagation();
e.preventDefault();
contextValue.selectMode$?.next(true);
contextValue.selectedDocIds$?.next(
selected
? selectedDocIds.filter(id => id !== doc.id)